Author |
Message
|
SOLOHERO |
Posted: Mon Oct 05, 2009 4:47 pm Post subject: Subscribition using correlationId |
|
|
Centurion
Joined: 01 Feb 2007 Posts: 107
|
Hi ,
We are using pub /sub architecture...but till now we were subscribing using topic names..Now i want to know if we can subscribe using correlationId , if so how how do i do that.
MB6.0 , windows.
Any help is much appriciated..
Thanks _________________ Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Mon Oct 05, 2009 4:51 pm Post subject: Re: Subscribition using correlationId |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
SOLOHERO wrote: |
Now i want to know if we can subscribe using correlationId , if so how how do i do that.
|
Aside from how, why? What's the requirement for a subscriber not to subscribe via topic name? How will the subscriber know the correl id it needs to subscribe to?
More information, better answers. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
SOLOHERO |
Posted: Mon Oct 05, 2009 8:36 pm Post subject: |
|
|
Centurion
Joined: 01 Feb 2007 Posts: 107
|
This is an enhancement of the pub /sub..since the docs says we con do using correID we are investigating on how to do it.
cause there could be some application reads via jms..etc where we cant define the topic names..
i found something , in the RFHUTIL, the option CorrelAsId under the pub/sub tab when adding a sunscriber....how do i use that optin..any kind of help is appriciated..
Thanks _________________ Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 05, 2009 8:42 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
AFAIK the correlId is used to distinguish one subscriber from another when retrieving the message from the common publish destination.
It may not be very relevant if the subscriber specified it's own destination for the topic(s) he subscribed to.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
SOLOHERO |
Posted: Tue Oct 06, 2009 6:37 pm Post subject: |
|
|
Centurion
Joined: 01 Feb 2007 Posts: 107
|
Yes ..thats right i tested and came to a final decision that we cant subscribe using only correlId , we need either Topic Name or Subscription Point and correlId can be used to sunscribe as an added filter . so we can differentitate the messages ..
Thanks _________________ Thanks |
|
Back to top |
|
 |
|