Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thilinamanamgoda/mqtt-client
User can send and recevie Mqtt messages .Also convert java object to Json and create Mqtt Message
https://github.com/thilinamanamgoda/mqtt-client
Last synced: 23 days ago
JSON representation
User can send and recevie Mqtt messages .Also convert java object to Json and create Mqtt Message
- Host: GitHub
- URL: https://github.com/thilinamanamgoda/mqtt-client
- Owner: ThilinaManamgoda
- Created: 2015-12-21T20:21:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-14T17:01:24.000Z (over 8 years ago)
- Last Synced: 2024-11-11T10:51:16.551Z (3 months ago)
- Language: Java
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mqtt-client
User can send and recevie Mqtt messages .Also convert java object to Json and create Mqtt MessageInstructions to bulid :
1. clone the repo
2. execute mvn clean installAt this moment you will have target folder inside the project folder which will contain a jar called "mqtt-client-0.0.1.one-jar.jar".
This contains all the dependencies and you can run as follows,1. To get the Mqtt messages
subscribe -ConnectionName -Topic
ex: subscribe -TestingSub -TestTopic
2. To send Messagessend -ConnectionName -Topic -Message
ex: send -TestingSen -TestTopic -"testing mqtt messages"
*Here each Connection Name should be UNIQUE !!Also you can use this repo in your project as a maven repo and Sample codes are provide ins the Example class