Top Qs
Timeline
Chat
Perspective
Eclipse Paho
Message queuing implementation From Wikipedia, the free encyclopedia
Remove ads
Eclipse Paho is a MQTT (Message Queuing Telemetry Transport) implementation.[2]
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Remove ads
Paho is available on various platforms and programming languages:[3]
Remove ads
Example
A simple example of using Paho could be:[4]
client = new MqttClient("tcp://localhost:1883", "pahomqttExample");
client.connect();
MqttMessage message = new MqttMessage();
message.setPayload("Hello World".getBytes());
client.publish("pahoExample/theTopic", message);
client.disconnect();
References
See also
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads