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 IndexClusteringRequest-Reply Cluster

Post new topicReply to topic
Request-Reply Cluster View previous topic :: View next topic
Author Message
soudhanya
PostPosted: Thu Nov 14, 2019 11:28 am Post subject: Request-Reply Cluster Reply with quote

Novice

Joined: 27 Feb 2017
Posts: 19

Hi, we are using request reply pattern in cluster. We have 4 queue managers(GWQM1, GWQM2, MQ1, MQ2)
Request Flow:
Source Application puts a request message thru GWQM1 which sent to GWQM2, MQ1,MQ2.
We are storing original request in cluster Queue.
Backend Application:
BackEnd application reads the message from Request flow queue and generates response(here we are using Mqinput and MQ reply).
Reply Flow:

Append above flow response with original request send back to Source application.

here the challenging part is all queues are in cluster. I have to pull backend application response message and search for original request in all QM's with the correid.

I am planning to read one by one QM.. is there any other way to accomplish this requirement?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Nov 14, 2019 1:25 pm Post subject: Re: Request-Reply Cluster Reply with quote

Grand High Poobah

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

soudhanya wrote:
I am planning to read one by one QM.. is there any other way to accomplish this requirement?


Yes.

The normal pattern is for the reply to be sent to the queue manager which originated the request (as identified in the MQMD) and hence has the original request to hand. This is certainly the default behavior of the MQReply node so I'm wondering how the question has come up.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Thu Nov 14, 2019 11:14 pm Post subject: Re: Request-Reply Cluster Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 724
Location: Germany

Vitor wrote:
soudhanya wrote:
I am planning to read one by one QM.. is there any other way to accomplish this requirement?


Yes.

The normal pattern is for the reply to be sent to the queue manager which originated the request (as identified in the MQMD) and hence has the original request to hand. This is certainly the default behavior of the MQReply node so I'm wondering how the question has come up.




Messages in MQ are always addressed by

1. Target QMgr

2. Target queue

The only difference between (MQ-) clustered environments in comparison to non-clustered environments is, that in some situations the target QMgr is selected by MQ cluster mechanism.

Example:

When you put a message to a cluster queue without specifying the QMgr (which should be the "normal" situation), then MQ chooses the target QMgr following the cluster balancing rules.

When you specify the QMgr during putting the message (which is "normal" for replys), then MQ sends the message to this specified QMgr.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexClusteringRequest-Reply Cluster
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.