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 Discussion » How to use multiple subcribers

Post new topic  Reply to topic
 How to use multiple subcribers « View previous topic :: View next topic » 
Author Message
wenhuei
PostPosted: Thu Sep 12, 2002 2:24 am    Post subject: How to use multiple subcribers Reply with quote

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
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Thu Sep 12, 2002 3:53 am    Post subject: Reply with quote

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
View user's profile Send private message
wenhuei
PostPosted: Thu Sep 12, 2002 5:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Thu Sep 12, 2002 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
wenhuei
PostPosted: Sun Sep 15, 2002 4:22 pm    Post subject: Reply with quote

Newbie

Joined: 12 Sep 2002
Posts: 7

thank you for help...
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » How to use multiple subcribers
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.