ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Publisher/Subscriber with multiple subscribers

Post new topic  Reply to topic
 Publisher/Subscriber with multiple subscribers « View previous topic :: View next topic » 
Author Message
zollen
PostPosted: Mon Jun 25, 2018 4:34 pm    Post subject: Publisher/Subscriber with multiple subscribers Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Mon Jun 25, 2018 4:51 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
Vitor
PostPosted: Mon Jun 25, 2018 11:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
markt
PostPosted: Tue Jun 26, 2018 1:14 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 502

Not very clear what the requirement is, but it sounds like shared subscriptions may be relevant. Multiple subscribers to the same topic on the same system, but only one copy of the publication delivered to the target queue.

https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.dev.doc/q119140_.html
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Publisher/Subscriber with multiple subscribers
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.