|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Watch queues across multiple queue managers |
« View previous topic :: View next topic » |
Author |
Message
|
meaton78 |
Posted: Mon May 03, 2010 10:21 am Post subject: Watch queues across multiple queue managers |
|
|
Centurion
Joined: 16 Oct 2008 Posts: 100
|
We have a XI50 device, and I was wondering if the following scenario is possible. We have a clustered environment, with one application that does not support reply to qmgr. So, there is only one instance of the clustered queue that it puts to, making clustering for this application impossible.
I was wondering if I could have Datapower read a message off of a queue say on QM1 and put it to this application's qmgr. Then have 3 instances of the reply to queue spread across 3 queue managers, so 1 queue on each qmgr. Then have Datapower watch the queue on each qmgr for the reply to the original message. The message might not come back on the same queue manager that was sent from.
I figured if this were possible, I could have a variable that is set when Datapower receives the request that saves the reply to qmgr, and use that variable once I receive the response to route the message to the proper location.
I know this is not a desirable situation, but I am trying to make an application that we can't get rid of a bit more durable. I'm also open to other suggestions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon May 03, 2010 11:08 am Post subject: Re: Watch queues across multiple queue managers |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
meaton78 wrote: |
I know this is not a desirable situation, but I am trying to make an application that we can't get rid of a bit more durable. I'm also open to other suggestions. |
The right way would be to fix the application you can't get rid of, so that it uses the JMSReplyTo Destination or the ReplyTo qmgr and ReplyTo queue.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
meaton78 |
Posted: Mon May 03, 2010 11:16 am Post subject: |
|
|
Centurion
Joined: 16 Oct 2008 Posts: 100
|
I know, I know. At the moment, that is way beyond my control. Same story as everyone else... |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon May 03, 2010 11:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
meaton78 wrote: |
I know, I know. At the moment, that is way beyond my control. Same story as everyone else... |
You could front the app with request reply pattern app.
Say app resides on QM X
so on QM X you create an additional app.
inputq = clustered INQ
outputq = your app inputq
replyq = your app reply q
replytoq = request message replyto information.
All you have done there is front your legacy app with reply request aware application. That application acts like a service app to the outside world (cluster) and as a requester to your legacy app.
Now if the app is outside of "your" control there may be a few additional things that are needed like communications to the controlling party's qmgr....
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Jul 09, 2010 5:14 am Post subject: Re: Watch queues across multiple queue managers |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
meaton78 wrote: |
We have a XI50 device
I was wondering if I could have Datapower read a message off of a queue say on QM1.. |
Very much possible.
meaton78 wrote: |
...and put it to this application's qmgr. Then have 3 instances of the reply to queue spread across 3 queue managers, so 1 queue on each qmgr. Then have Datapower watch the queue on each qmgr for the reply to the original message. The message might not come back on the same queue manager that was sent from.
|
You can try setting the 'Front Side Handler Settings' and 'Back Side Handler Settings'. You can set MQ or specifically QMgrs at both the ends.
It depends on the Application further 'How & When' its picking the messages from Backend MQ.
For Any Kind of communication between MQ and DP (datapower) you gottu have Services Defined (Say MPG = Multi Protocol Gateway), Policies & Rules ( in MPG).
*IF you won't specify the 'Backend URL' using 'MQHelper' in MPG (Multi Protocol Gateway) then DP would give error.
Apologies for giving the life to the old post But wanted to share related info.
Have fun.  _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
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
|
|
|
|