Created
July 6, 2016 04:38
-
-
Save aaronwalker/59648cc5302695e91b149ccc52977b4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd | |
http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd"> | |
<!-- connect to the local ActiveMQ broker --> | |
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> | |
<property name="brokerURL" value="tcp://amq:61616"/> | |
<property name="userName" value="amq"/> | |
<property name="password" value="amq"/> | |
</bean> | |
<!-- connect to the Jentrata ActiveMQ broker --> | |
<bean id="jentratamq" class="org.apache.activemq.camel.component.ActiveMQComponent"> | |
<property name="brokerURL" value="tcp://jentrata:61616"/> | |
<property name="userName" value="jentrata"/> | |
<property name="password" value="jentrata"/> | |
</bean> | |
<!-- Define bridging routes to handle inbound/outbound message transfer --> | |
<camelContext xmlns="http://camel.apache.org/schema/blueprint" id="jentrata-mq-bridge"> | |
<route id="Jentrata-Inbound"> | |
<from uri="jentratamq:Ebms.Inbound" /> | |
<to uri="activemq:Ebms.Inbound" /> | |
</route> | |
<route id="Jentrata-Outbound"> | |
<from uri="activemq:Ebms.Outbound" /> | |
<to uri="jentratamq:Ebms.Outbound" /> | |
</route> | |
</camelContext> | |
</blueprint> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment