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 » IBM MQ Installation/Configuration Support » one que sent to multiple locations

Post new topic  Reply to topic
 one que sent to multiple locations « View previous topic :: View next topic » 
Author Message
ja2796
PostPosted: Mon Jun 22, 2009 8:03 am    Post subject: one que sent to multiple locations Reply with quote

Newbie

Joined: 22 Jun 2009
Posts: 1

Instead of having my program send a message to several locations, I was wondering if MQ could handle this. I send the one que and MQ can distribute this to multiple locations. The que being sent out can have different locations each time. I am hoping for some majic.
Back to top
View user's profile Send private message
sumit
PostPosted: Mon Jun 22, 2009 8:25 am    Post subject: Re: one que sent to multiple locations Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

ja2796 wrote:
I send the one que and MQ can distribute this to multiple locations. The que being sent out can have different locations each time.

With 'locations' do you mean different queue managers? Are you working in a clustered environment? You can use load balancing feature of cluster if you have queues with same name on multiple queue managers and all are in cluster.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Mon Jun 22, 2009 8:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What is "Publish/Subscribe"?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 22, 2009 9:03 am    Post subject: Re: one que sent to multiple locations Reply with quote

Grand High Poobah

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

ja2796 wrote:
I am hoping for some majic.


The magic's called "pub/sub" - look it up.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 22, 2009 9:04 am    Post subject: Re: one que sent to multiple locations Reply with quote

Grand High Poobah

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

[quote="sumit"]
ja2796 wrote:
You can use load balancing feature of cluster if you have queues with same name on multiple queue managers and all are in cluster.


Only if the poster wants 1 copy of 1 message to one location. I interpreted it as 1 put, multiple copies.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Jun 22, 2009 9:09 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It would be neat to have an alias queue refer to multiple base queues, but it's not there as a product feature.

Pub/sub is a relatively complex way to meet this simple requirement.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 22, 2009 10:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

zpat wrote:
It would be neat to have an alias queue refer to multiple base queues, but it's not there as a product feature.


Yes it is, at least in v7.

You create a QALIAS that points to a Topic.
Back to top
View user's profile Send private message
sumit
PostPosted: Mon Jun 22, 2009 11:33 am    Post subject: Re: one que sent to multiple locations Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

Vitor wrote:
sumit wrote:
ja2796 wrote:
You can use load balancing feature of cluster if you have queues with same name on multiple queue managers and all are in cluster.


Only if the poster wants 1 copy of 1 message to one location. I interpreted it as 1 put, multiple copies.


Quote:
The que being sent out can have different locations each time.

My understanding is different means, no alt. message should go to same q. If this would be multiple, pub-sub indeed is a better option.
That's my interpretation.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Mon Jun 22, 2009 1:01 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Then there's the option of a Distribution List. It's a programming construct, but satisfies the fan-out requirement.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » IBM MQ Installation/Configuration Support » one que sent to multiple locations
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.