Is there something special to be done to ensure message body from a MQTT client appears in the JMS message body ?
I am using the mosquitto publish client to publish a simple message to amq/mqtt/sample topic string on ActiveMQ. As expected, the JMS conversion happens correctly. I can see amq.mqtt.sample topic string under Topics in the web console. To see if the message appears successfully at the JMS end, I started jconsole. (Yes, I tried SoapUI and couple of others; they failed to work for one or other reason). jconsole does not show any message body for the said topic string. However, when I send a message to amq.mqtt.sample topic string from jconsole or web console, I can see them correctly in the mosquitto subscribe client. This problem exists even when I publish from mosquitto publish client with retain flag turned on. For example, Without retain flag mosquitto_pub -p port_number -i clientId -t amq/mqtt/sample -l <enter body from console> mosquitto_pub -p port_number -i clientId -t amq/mqtt/sample -r -l <enter body from console> -- View this message in context: http://activemq.2283324.n4.nabble.com/MQTT-to-JMS-conversion-results-in-null-message-body-tp4681107.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.