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 DataPower » Watch queues across multiple queue managers

Post new topic  Reply to topic
 Watch queues across multiple queue managers « View previous topic :: View next topic » 
Author Message
meaton78
PostPosted: Mon May 03, 2010 10:21 am    Post subject: Watch queues across multiple queue managers Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon May 03, 2010 11:08 am    Post subject: Re: Watch queues across multiple queue managers Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
meaton78
PostPosted: Mon May 03, 2010 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon May 03, 2010 11:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Fri Jul 09, 2010 5:14 am    Post subject: Re: Watch queues across multiple queue managers Reply with quote

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
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 DataPower » Watch queues across multiple queue managers
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.