All, Where am I going wrong?
I'm having trouble getting JMS to work between two machines both running Karaf. Clearly I'm missing something. ActiveMQ is running on my producer machine and I am able to see messages in the queue. I'm using the ActiveMQ web console to monitor the queue. The trouble is they are not being consumed. The blueprint for my consumer is shown below, it deploys without error and shows up as active in the Karaf web console. But the ActiveMQ console shows that there are no consumers being connected. The consumer blueprint is shown below followed by the blueprint for the producer. Thanks Consumer machine: <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <bean id="jms" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="brokerURL" value="tcp://url_to_remote_broker:61616" /> </bean> <camelContext xmlns="http://camel.apache.org/schema/blueprint"> <route> <from uri="jms:queue:ave" /> <to uri="stream:out" /> </route> </camelContext> </blueprint> Producer machine: <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <bean id="jms" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="brokerURL" value="tcp://localhost:61616" /> </bean> <camelContext xmlns="http://camel.apache.org/schema/blueprint"> <route> <from uri="timer:test?period=5000" /> <setBody> <constant>Ave Mundus!!</constant> </setBody> <to uri="jms:queue:ave" /> </route> </camelContext> </blueprint> -- Geoffry Roberts
