|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to use multiple subcribers |
« View previous topic :: View next topic » |
Author |
Message
|
wenhuei |
Posted: Thu Sep 12, 2002 2:24 am Post subject: How to use multiple subcribers |
|
|
Newbie
Joined: 12 Sep 2002 Posts: 7
|
i use topic "a2808/name" to do a publication and run 2 subscription at the same time. 13 message had been published, first subscription receive 7 message and the second receive 6 message.
how can i make both the subscription receive all the message (first subscription receive 13 message and second subscription receive 13 message also) ??
thank you for your help. |
|
Back to top |
|
 |
vmcgloin |
Posted: Thu Sep 12, 2002 3:53 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Is this MQSI or base Pub/Sub? Which version?
If MQSI, then it sound like you have both subscribers using the same queue. Try changing one of the subscriber identifier bits in the RegSub e.g queue. It is a while since I've used pub/sub but I think this is how it should work. Extract from Programming Guide (2.0.2):
Quote: |
In general, if a subscribing application has more than one subscription that
matches a publication, only one copy of the publication is sent to it. However, if it
registered with different subscriber identifiers (a combination of the MQSeries
queue, queue manager, and optional correlation identifier), more than one copy
might be sent to the application. |
Alternatively, check that you do have 2 separate subscriptions and the 2nd one is not replacing the 1st. That should be obvious if you, know which of the 13 messages each is getting.
Regards,
Vicky |
|
Back to top |
|
 |
wenhuei |
Posted: Thu Sep 12, 2002 5:16 pm Post subject: |
|
|
Newbie
Joined: 12 Sep 2002 Posts: 7
|
i am using AMI to do this.
my situation is i have more than 2 client waiting for the publication, all of the client do a subscription with same queue, same policy and same topic (means that they are same program but running in different pc), so what should i do to make sure all the client get the same publication message?
should i browse the queue or using different receive queue for different client?
kindly thank you |
|
Back to top |
|
 |
vmcgloin |
Posted: Thu Sep 12, 2002 11:15 pm Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
I think the easy solution is to use a different queue for each client.
Regards,
Vicky |
|
Back to top |
|
 |
wenhuei |
Posted: Sun Sep 15, 2002 4:22 pm Post subject: |
|
|
Newbie
Joined: 12 Sep 2002 Posts: 7
|
|
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
|
|
|
|