<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http:
xmlns:xsi="http: xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
xsi:schemaLocation="
http: http: http:
<bean id="amqpCf" class="org.apache.qpid.jms.JmsConnectionFactory">
<property name="remoteURI" value="amqp: />
<property name="username" value="admin" />
<property name="password" value="admin" />
</bean>
<bean id="amqpConfig" class="org.apache.camel.component.jms.JmsConfiguration">
<property name="connectionFactory" ref="amqpCf" />
</bean>
<bean id="amqpartemis" class="org.apache.camel.component.jms.JmsComponent">
<property name="configuration" ref="amqpConfig" />
</bean>
<service ref="amqpCf" interface="javax.jms.ConnectionFactory"/>
<bean id="fuseCf" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp: />
<property name="userName" value="admin" />
<property name="password" value="admin" />
</bean>
<bean id="fuseJmsConfig" class="org.apache.camel.component.jms.JmsConfiguration">
<property name="connectionFactory" ref="fuseCf" />
</bean>
<bean id="jmsfuse" class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="configuration" ref="fuseJmsConfig" />
</bean>
<camelContext xmlns="http:
id="fuse-artemis">
<route id="to-fuse">
<from uri="amqpartemis:artemis2" />
<to uri="jmsfuse:queue:amq2" />
</route>
</camelContext>