|[paho-dev] HTTP - MQTT bridge|
I’m developing an HTTP-MQTT bridge.
HTTP/REST side I’m using Jersey rest framework.
My requirement consist publishes a messages and then subscribe to its response.
I’m able a publish a Message using a MQTT client during POST method.
But, I don’t get any messages when its been subscribed. I’m not sure what changes I need to do in perspective to REST.
Since its works fine in normal JAVA application.
Should I use different mqtt clients for pub and sub,
I tried Async client which was working fine in normal java application but in REST it is not working.
Please help me understand if this the MQTT functionality or my ignorance.
Larsen & Toubro Limited
This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
Back to the top