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 » General Discussion » same message to be consumed by two diffrent application

Post new topic  Reply to topic
 same message to be consumed by two diffrent application « View previous topic :: View next topic » 
Author Message
vzboy
PostPosted: Wed Jun 27, 2007 1:07 am    Post subject: same message to be consumed by two diffrent application Reply with quote

Novice

Joined: 21 Jul 2005
Posts: 14

I have a new requirement from my application team. We have three qmgrs QM1, QM2 & QM3 which are connected to three applications App1 to QM1, App2 to QM2, & App3 to QM3. The requirement is, message sent by App1 to QM2 (Distributed Quing). This message has to be consumed by App2 from QM2 and also the ame message has to be sent to QM3 to be consumed by App3.

I first though of accomplishing this using MQ clustering, but later i realized even though i do clustering i'll only be able to post message in QM2 & QM3 in round robin, but not the same message to both the QMGR simultaneously. THe app team informed us the there wont be any change in the code so we have to get this done only with MQ. Can any one pls help me out to leme now if this is achievable using MQ.

At the moment i'm looking into the possibilities of using PUB/SUB. any other ides or help will be really helpful.
_________________
Thanks

vzboy
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 27, 2007 1:30 am    Post subject: Reply with quote

Grand High Poobah

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

One other thing you might try is something like the mirrorq exit.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed Jun 27, 2007 1:57 am    Post subject: Re: same message to be consumed by two diffrent application Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

vzboy wrote:
I have a new requirement from my application team...


Are you using Message Broker in this scenario ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Wed Jun 27, 2007 2:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This is a typical Pub/Sub scenario...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jun 27, 2007 3:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Vitor wrote:
One other thing you might try is something like the mirrorq exit.

No substitute for proper Pub/Sub.

Let's all repeat that once more.

Use Pub/Sub!
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 27, 2007 3:28 am    Post subject: Reply with quote

Grand High Poobah

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

fjb_saper wrote:
This is a typical Pub/Sub scenario...


I never said it wasn't - just offered an alternative as asked!!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 27, 2007 3:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, if we're going to play alternates...

The sending app can create a distribution list, and send to more than one queue that way.

Still better than mirrorq...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vzboy
PostPosted: Thu Jun 28, 2007 3:00 am    Post subject: Reply with quote

Novice

Joined: 21 Jul 2005
Posts: 14

No wonder why u guys call ur self Gramd master... yeah u guys are gr8. The mirrorq exit worked, i get the same message in two q's now in the same QMGR. Am working on the distribution list now, as i have to convince the dev team to change their code. THx a ton guys...
_________________
Thanks

vzboy
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 28, 2007 6:23 am    Post subject: Reply with quote

Grand High Poobah

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

vzboy wrote:
No wonder why u guys call ur self Gramd master... yeah u guys are gr8. The mirrorq exit worked, i get the same message in two q's now in the same QMGR. Am working on the distribution list now, as i have to convince the dev team to change their code. THx a ton guys...


Point 1 - the board calls us Grand Master based on number of posts. It's not an indication of knowledge, except in the case of the singular title Grand Poobah!

Point 2 - before that most worthy points it out, bear in mind the mirrorq exit is sample code & not necessarily production strength. If you're going to use this over anything other than the short term, review it and be sure you're confident of it's robustness and your ability to support it.

But well done for finding a solution, hope the distribution list works out for you (it's a better way than mirrorq).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 28, 2007 6:55 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Vitor wrote:
that most worthy


Merely most verbose.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
cicsprog
PostPosted: Thu Jun 28, 2007 2:00 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 347

I'd say pub/sub (i.e. lame attempt to make Grand Master level).
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 » General Discussion » same message to be consumed by two diffrent application
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.