|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Question on Pub-Sub |
« View previous topic :: View next topic » |
Author |
Message
|
kirankinnu |
Posted: Tue Nov 25, 2008 9:19 am Post subject: Question on Pub-Sub |
|
|
 Centurion
Joined: 12 Jun 2004 Posts: 128 Location: Chicago, IL
|
Hello folks,
I got a question on Pub-Sub implementation using message flow Publication node. I got the Pub-Sub implemented and got it working in my local workstation. Lets say if the publisher and subscriber are on 2 different systems, how do we subscribe to a Topic Published on a remote machine. Do we have to define remote queue definitions and stuff ...
I would appreciate any input to this. If handy please do point me to appropriate documentation.
Thank You,
Kiran |
|
Back to top |
|
 |
gs |
Posted: Wed Nov 26, 2008 12:28 am Post subject: |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
No, you can't subscribe to a remote topic. For remote queue definitions and stuff, see the WMQ infocenter. |
|
Back to top |
|
 |
wbi_telecom |
Posted: Wed Nov 26, 2008 6:49 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
Yes. you can subscribe to any publication that happens on another QM provided you are connected to that QM/Broker. You can use broker collectives or MQ clusters or MQ remote objects to get the message whereever you need. As long as you are giving a queue name as a subscriber, you can manipulate the message delivary anywhere you need using these methods.
Cheers, |
|
Back to top |
|
 |
gs |
Posted: Wed Nov 26, 2008 7:28 am Post subject: |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
wbi_telecom wrote: |
Yes. you can subscribe to any publication that happens on another QM provided you are connected to that QM/Broker.
|
What I meant is that he can't subscribe to a remote topic directly without using remote queues or cluster.
He seemed to ask for another, more direct solution. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 26, 2008 10:10 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
gs wrote: |
wbi_telecom wrote: |
Yes. you can subscribe to any publication that happens on another QM provided you are connected to that QM/Broker.
|
What I meant is that he can't subscribe to a remote topic directly without using remote queues or cluster.
He seemed to ask for another, more direct solution. |
You need to subscribe with a topic containing the subscription Destination possibly in uri form ... see how to setup your topic URI by experimenting with jmsadmin and a file context or using RFHUtil(c).
The subscription destination must be local (as in queue local) to the qmgr you are connected to.
Last and not least you must have a default route between the broker's qmgr and the qmgr you are connected to.
This works with basic pub/sub.
If you are in a collective and the topic is published to globally you can subscribe globally to it on the broker you are connected to....
Have fun and read the relevant parts in the manuals:
Intercommunications manual, Using Java, Pub/Sub manual.  _________________ MQ & Broker admin |
|
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
|
|
|
|