|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Publisher/Subscriber with multiple subscribers |
« View previous topic :: View next topic » |
Author |
Message
|
zollen |
Posted: Mon Jun 25, 2018 4:34 pm Post subject: Publisher/Subscriber with multiple subscribers |
|
|
Newbie
Joined: 24 Jan 2003 Posts: 4
|
This is a multiple publishers and multiple subscribers model question.
Is it possible to create a non-broadcast topic where a message could be consumed by one and only one subscriber (amount multiple subscribers)? I am new to MQ so any info would be much grateful. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Jun 25, 2018 4:51 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Pub/sub publishers use the usual MQOPEN and MQPUT calls to publish. Consumers use the usual MQOPEN and MQGET calls.
An app can MQOPEN the topic specifying INPUT_EXCLUSIVE to ensure there are no other consumers. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 25, 2018 11:48 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
This method doesn't allow one publication to be consumed by only one of a pool of subscriber in a load balancing scenario.
Stick with clustering for that _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
markt |
Posted: Tue Jun 26, 2018 1:14 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|