Author |
Message
|
Muhammad Haider |
Posted: Tue Mar 05, 2019 10:42 pm Post subject: Issue with MQTT implementation in IIB/ACE |
|
|
Apprentice
Joined: 14 Mar 2011 Posts: 43
|
Hi, I tried pub/ in IIB and ACE with different QoS levels but still I am not able to get messages published while the subscriber flow was down. Is there a restriction here in toolkit or at the MQTT server level which is being used by IIB /ACE. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 06, 2019 3:39 am Post subject: Re: Issue with MQTT implementation in IIB/ACE |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Muhammad Haider wrote: |
Hi, I tried pub/ in IIB and ACE with different QoS levels but still I am not able to get messages published while the subscriber flow was down. Is there a restriction here in toolkit or at the MQTT server level which is being used by IIB /ACE. |
So you have no durable subscription and only a dynamic subscription which is down? Why would you ever expect to see a publication when there is no receiver for it?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Muhammad Haider |
Posted: Wed Mar 06, 2019 6:02 am Post subject: |
|
|
Apprentice
Joined: 14 Mar 2011 Posts: 43
|
How to make a durable subscription using pub/sub nodes that are available in toolkit and the default MQTT broker running. There is no property for retaining messages on topics on the pub/sub nodes. There is just QoS parameter that we can set and I checked setting it to values 0,1,2 on both pub and sub nodes but no difference. Whenever I stop my subscriber flow to simulate a scenario where a subscriber is offline and he wants to receive the messages when he comes online, i don't get any messages that were already published. I think the feature is missing here in IIB/ACE implementation. |
|
Back to top |
|
 |
abhi_thri |
Posted: Thu Mar 07, 2019 1:30 am Post subject: |
|
|
 Knight
Joined: 17 Jul 2017 Posts: 516 Location: UK
|
|
Back to top |
|
 |
Muhammad Haider |
Posted: Sat Mar 23, 2019 7:39 pm Post subject: |
|
|
Apprentice
Joined: 14 Mar 2011 Posts: 43
|
Nice idea but is it available for MQTT nodes too apart from MQ? Plus how we can retain more than 1 previous messages ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Mar 24, 2019 12:40 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Remember that IIB still comes with a restricted MQ license for the broker's queue manager. So use MQ and a durable subscription already...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|