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 » single subcribers to two publisher

Post new topic  Reply to topic
 single subcribers to two publisher « View previous topic :: View next topic » 
Author Message
sathya532k
PostPosted: Fri Apr 20, 2012 10:37 am    Post subject: single subcribers to two publisher Reply with quote

Novice

Joined: 04 Dec 2006
Posts: 15

Can someboby help on the below query.

Can a single subriber can subscribe to two individual publisher from a same qmanager.
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Fri Apr 20, 2012 10:41 am    Post subject: Re: single subcribers to two publisher Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sathya532k wrote:
Can a single subriber can subscribe to two individual publisher from a same qmanager.


Subscribers don't subscribe to publishers. They subscribe to topics. They have (or should have) no visibility of who's publishing those topics.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Apr 20, 2012 10:42 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Yes. With the added information from my friend, Vitor; exchanging publisher for topic.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
sathya532k
PostPosted: Fri Apr 20, 2012 10:44 am    Post subject: Reply with quote

Novice

Joined: 04 Dec 2006
Posts: 15

Hi Sorry,

I meant to ask can a single subcriber able to subscribe to two different topic
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Fri Apr 20, 2012 10:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sathya532k wrote:
I meant to ask can a single subcriber able to subscribe to two different topic


To quote my associate: yes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sathya532k
PostPosted: Fri Apr 20, 2012 11:17 am    Post subject: Reply with quote

Novice

Joined: 04 Dec 2006
Posts: 15

Hi Victor,

One more doubt.

We have subscribed for topic A from a publisher A. Now publisher is adding one more Qmanager and decided to publish Topic B from new environment.

Now from my standpoint, will i be able to subscribe from one mq environment to two different topics published by two different Publishers.



App B
Apps ------------------------->Topic1
Topic1
Topic2 ------------------------>App C
Topic2
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Fri Apr 20, 2012 11:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sathya532k wrote:
We have subscribed for topic A from a publisher A. Now publisher is adding one more Qmanager and decided to publish Topic B from new environment.


This is a really poor design. Topics should describe the data, not who published them. So if there's a new queue manager on which an application is generating the same or similar data to the first one, the topic should be the same or similar & the subscriber should use a wildcard in the subscription.

You should not have Topic A from Publisher A & Topic B from Publisher B going to the same subscribing application. You should have A/Data & B/Data going to a subscription of #/Data. Or Data/#. Or some other construction of topic string that meets your requirements.

And ideally no reference to the publisher in the topic at all!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sathya532k
PostPosted: Fri Apr 20, 2012 11:39 am    Post subject: Reply with quote

Novice

Joined: 04 Dec 2006
Posts: 15

Hi Victor,

Thanks. Still i have no information from the other guys.
I received a omunication and thought of discussing on a right forum to get educated.

Once i receive the concrete information, i will ask for suggestions here and best way to proceed.

Im a new bie in pub/sub model. Im just a pure Mq Admin. So this task came to me.

I will come back required information
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Fri Apr 20, 2012 11:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sathya532k wrote:
Im a new bie in pub/sub model.


You'll find the pub/sub documentation highly useful. Type "topic strings" into the InfoCenter and fan down from there. There are some good descriptions on topic string design & the use of wildcards, as well as publisher / subscriber topology.

sathya532k wrote:
Im just a pure Mq Admin. So this task came to me.


Because there's a sporting chance you'll be defining topics and subscriptions at an administrative level.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » single subcribers to two publisher
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.