throw javax.jms.InvalidClientIDException when use network-broker

2015-09-06 Thread shanegoal
Hi, We have a two node network brokers set up. it can work fine two or three days. Suddenly, every broker will try to create connection to each other, but because There are already has connected to each other, so it will throw a “javax.jms.InvalidClientIDException”. The brokers will retry

Re: Route MQTT messages to webservice

2015-09-06 Thread Daniel Oliveira Nascimento
Hi, The problem was that the MQTT messages are treated by ActiveMQ as ByteArray messages and Webservices expect string messages. To solve the problem I use the following camel.xml. http://camel.apache.org/schema/spring";> Example Camel Route