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 » Question on Pub-Sub

Post new topic  Reply to topic
 Question on Pub-Sub « View previous topic :: View next topic » 
Author Message
kirankinnu
PostPosted: Tue Nov 25, 2008 9:19 am    Post subject: Question on Pub-Sub Reply with quote

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
View user's profile Send private message
gs
PostPosted: Wed Nov 26, 2008 12:28 am    Post subject: Reply with quote

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
View user's profile Send private message
wbi_telecom
PostPosted: Wed Nov 26, 2008 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
gs
PostPosted: Wed Nov 26, 2008 7:28 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 26, 2008 10:10 am    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » Question on Pub-Sub
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.