Author |
Message
|
matuwe |
Posted: Mon Mar 11, 2019 8:21 am Post subject: MQTT quality of service |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Hi please help. I have a flow with MQTT subscriber and the quality of service is set to 1. But every time i receive business events, the quality of service is set to 1.
I am using iib 10.0.0.14 without a queue manager attached . How can i get my subscription to be persistent.  |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 11, 2019 8:43 am Post subject: Re: MQTT quality of service |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
matuwe wrote: |
Hi please help. I have a flow with MQTT subscriber and the quality of service is set to 1. But every time i receive business events, the quality of service is set to 1. |
How is this unexpected? You asked for QoS 1, you got QoS 1........
matuwe wrote: |
I am using iib 10.0.0.14 without a queue manager attached . How can i get my subscription to be persistent.  |
Quality of service has nothing to do per se with your subscription; it controls the quality/speed/likelihood of a message being delivered (or repeatedly delivered). It's also set by the publisher not your subscriber.
Perhaps you could rephrase your question? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 11, 2019 8:52 am Post subject: Re: MQTT quality of service |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
matuwe wrote: |
But every time i receive business events, the quality of service is set to 1. |
If by "business events", you mean the internal IIB ones rather than events from your business then they can be configured as shown here. If you mean events from your business, speak to the publisher.
I don't see what either of these things has to do with the persistence of your subscription.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
matuwe |
Posted: Tue Mar 12, 2019 10:11 am Post subject: |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Hi. My apologies. I have set my subscriber quality of service to 1. But when messages are published they always come as 0.
The BusinessEvents are the default one that comes with iib 10.
My flow has MQTT subscriber 》》 compute node 》》 mq output.
The problem is, if this flow is down for few minutes, i loose all BusinessEvents that where published while its down.
I need the subscriptions to be durable? |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 12, 2019 10:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
matuwe wrote: |
I need the subscriptions to be durable? |
Vitor wrote: |
If by "business events", you mean the internal IIB ones rather than events from your business then they can be configured as shown here. |
_________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 12, 2019 10:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
And if the business events are that mission critical, you may want to consider additional options, like making the flow highly available or putting a queue manager under your broker.
All depends on the criticality. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|