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 » Limit publications only to local subscribers

Post new topic  Reply to topic
 Limit publications only to local subscribers « View previous topic :: View next topic » 
Author Message
vsathyan
PostPosted: Fri Apr 01, 2016 3:15 pm    Post subject: Limit publications only to local subscribers Reply with quote

Centurion

Joined: 10 Mar 2014
Posts: 121

Hi,

I have a cluster topic setup in queue manager A. It has two subscribers defined in A with two cluster queues as destinations. The same set of subscribers are defined in B (no topics in queue manager B).

QMGR A
CLUSTER TOPIC
SUB1 - CLUSTER Q1 (DEST)
SUB2 - CLUSTER Q2 (DEST);

QMGR B
SUB3 - CLUSTER Q1 (DEST)
SUB4 - CLUSTER Q2 (DEST);

When i publish 1 message to the topic, i receive 2 messages in CLUSTER Q1 and 2 messages in CLUSTER Q2.

I tried changing PUBSCOPE and SUBSCOPE attributes to QMGR and push messages. When i do this, and publish 1 messages, no messages are reaching the queue.

How do i control - that only one set of subscribers (either subs in A or subs in B) receive messages at a given time, with 4 subscribers in place?

Thanks for your advise.

Regards,
vsathyan
_________________
Custom WebSphere MQ Tools Development C# & Java
WebSphere MQ Solution Architect Since 2011
WebSphere MQ Admin Since 2004
Back to top
View user's profile Send private message
vsathyan
PostPosted: Fri Apr 01, 2016 4:06 pm    Post subject: Reply with quote

Centurion

Joined: 10 Mar 2014
Posts: 121

Thanks all. Figured it out.

For some reason - altering the topic / subscription after it is created doesn't seem to work.

I deleted the subscriptions in B, recreated them with SUBSCOPE(QMGR), then it worked.

Regards,
vsathyan
_________________
Custom WebSphere MQ Tools Development C# & Java
WebSphere MQ Solution Architect Since 2011
WebSphere MQ Admin Since 2004
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 » Limit publications only to local 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.