I have a setup where messages are produced as MQTT to ActiveMQ. I have two consumers one as JMS and another MQTT.
When I am publishing message as JMS Message to the topic "foo", I am receiving the messages at both JMS and MQTT consumers, but when I am publishing as MQTT on the same topic I receive the message only on MQTT consumer and nothing at all is received at JMS consumer.
Is there something I need to do specifically when publishing as MQTT to be able to consume as MQTT as well as JMS.
Please help.
Update :
JMS Consumer
JMS Producer
MQTT Publisher
MQTT Subscriber
activemq.xml