Re: Java Route Not Finishing

2014-02-13 Thread Raul Kripalani
If the incoming message via the MQTT consumer was InOut (i.e. request-reply), it's likely that the JMS producer is sending the message as InOut. This means that the producer is waiting for a reply. Try setting the 'exchangePattern' option on the JMS endpoint to 'InOnly' to instruct the producer tha

Re: Java Route Not Finishing

2014-02-13 Thread Zadko
It turns out that the MQTT component only supports consuming from that endpoint. I figured out that I can consume a message as an MQTT message if I send the message as a JMS. Like follows: from("mqtt:test?subscribeTopicName=zaq.avila.send") .process(new Rest

Re: Java Route Not Finishing

2014-02-11 Thread kraythe .
I would attach a tracer to the route and walk through its execution. Just google "apache Camel tracer" *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39