Hi Team,
I trying to acheive the persistant session & Queuing message in HiveMQ. But it not working properly.
I tried the below commands, but it doesn’t work.
For Publishing a Message used Shell command prompt:
mqtt> con -i myClientTest --no-cleanStart -se 1000
myClientTest@localhost> pub -t home -m Hello
myClientTest@localhost> pub -t home -m Hello -q 1 -r
myClientTest@localhost> pub -t home -m Hello1 -q 1 -r
myClientTest@localhost> pub -t home -m Hello12 -q 1 -r
myClientTest@localhost> pub -t home -m Hello123 -q 1 -r
myClientTest@localhost> pub -t home -m Hello -q 1 -r
myClientTest@localhost> pub -t home -m Hello1 -q 1 -r
myClientTest@localhost> pub -t home -m Hello2 -q 1 -r
For Subscribing a Topic:
./mqtt-cli sub -t home
Can you please provide me another solution to work with.
And Also I have an issue in Session Expiry.
Can you give me some tips to achieve this.
Thanks,
Hari