|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Limit publications only to local subscribers |
« View previous topic :: View next topic » |
Author |
Message
|
vsathyan |
Posted: Fri Apr 01, 2016 3:15 pm Post subject: Limit publications only to local subscribers |
|
|
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 |
|
 |
vsathyan |
Posted: Fri Apr 01, 2016 4:06 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|