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 » WebSphere Message Broker (ACE) Support » psc - RegSub question

Post new topic  Reply to topic
 psc - RegSub question « View previous topic :: View next topic » 
Author Message
sieijish
PostPosted: Thu May 25, 2006 7:52 am    Post subject: psc - RegSub question Reply with quote

Acolyte

Joined: 29 Nov 2004
Posts: 67
Location: London

Assume the following subscription is already there on the broker

<psc>
<Command>RegSub</Command>
<Topic>Topic1</Topic>
<QMgrName>GATEWAY_QM</QMgrName>
<QName>TESTQ</QName>
</psc>

Now if I want to receive messages on Topic2 also on the same queue, then if say, I issue another <psc> command.

<psc>
<Command>RegSub</Command>
<Topic>Topic1</Topic>
<Topic>Topic2</Topic>
<QMgrName>GATEWAY_QM</QMgrName>
<QName>TESTQ</QName>
</psc>

Now when broker executes this command, will it acutally replace the subscription which was already there for Topic1? or does the command simply ignore the one for Topic1 as it already exists?

If there are any messages published during the time while broker is doing this subscription change, is there any tiny window where I could lose the messages published on Topic1 while broker was replacing the original subscription?

I can avoid Topic1 in the second command but just wonder how broker handles this.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu May 25, 2006 8:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The two subscriptions should be independant and not affect each other.

But it had to be simplest to try this and see, rather than ask.
_________________
I am *not* the model of the modern major general.
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 » WebSphere Message Broker (ACE) Support » psc - RegSub question
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.