Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] To get the message

Hi,
I am using Java clients.  So both publisher and subscriber are java clients only. So is there any existing api/method using which I can retrieve message sent by publisher? Or if not so then what else it could be?

Regards,
Abhishek

On Oct 10, 2014 7:28 PM, "Ian Craggs" <icraggs@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

do you have a subscriber?

Why not use an MQTT tool for viewing messages, like

mqtt-spy - https://code.google.com/p/mqtt-spy/

or

MQTT lens  -  https://github.com/sandro-k/MQTTLensChromeApp

or one of the Paho GUI tools (https://www.eclipse.org/paho/clients/tool/)?

Ian


On 10/10/2014 01:51 PM, Abhishek Maheshwari wrote:

Hi,

I am trying to implement MQTT protocol. I am using moquette as a broker and eclipse paho as a client.

I can send message using "client.publish(topic, message)". But I am unable to find out how can I see whether the subscriber has received that message or not. I want to fetch the message sent by publisher to a local string variable. Can anybody help me?

Thanks in advance,

Regards,
Abhishek



_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

Back to the top