Open anilkunchalaece opened 7 years ago
Hi @anilkunchalaece,
The code looks ok to me, can you confirm that messages are being sent correctly to that topic?
You could also try using the Javascript client utility here: https://www.eclipse.org/paho/clients/js/utility/
Hi @jpwsutton Thanks for Quick Reply
the topic is correct. i am able to publish to the same topic.. but not receiving any messages while subscribing.
Javascript client utility giving me the error Failed to connect: AMQJS0007E Socket error:undefined.
Looks like you're using the wrong path, you want the path to be /mqtt
.
I've tested this myself to make sure it works.
I am trying subscribe to a topic on the Adafruit IO. I am getting subscribe success callback but not receiving any messages from the broker.
anybody have any idea onMessageArrived callback is not invoking ?