Posted: Wed Jul 08, 2009 9:49 pm Post subject: Setting expiry for reply messages
Apprentice
Joined: 08 Jul 2009 Posts: 30
I am working on Request-Reply scenario in WMB 6.1 which is shown below.
Appl A(Request) -> Broker -> (Request)Appl B
Appl A(Reply) <- Broker <- (Reply)Appl B
If for some reason Appl A is times out, reply messages will get piled up in response queue which needs monitoring. To avoid this situation, I am setting Expiry on the reply messages before sending replies to Appl A's response queue.
In WMB flow I am using MqReply node to send the reply. Problem here is Expiry which is set in MQMD header is not reflected in Reply messages when MqReply node is used. Instead it works fine when MqOutput node is used.
Is there any differences in the behaviour of MqReply and MqOutput nodes when comes to Message expiry?
Posted: Wed Jul 08, 2009 10:24 pm Post subject: Re: Setting expiry for reply messages
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
touchofcrypticthunder wrote:
I am working on Request-Reply scenario in WMB 6.1 which is shown below.
Appl A(Request) -> Broker -> (Request)Appl B
Appl A(Reply) <- Broker <- (Reply)Appl B
If for some reason Appl A is times out, reply messages will get piled up in response queue which needs monitoring. To avoid this situation, I am setting Expiry on the reply messages before sending replies to Appl A's response queue.
In WMB flow I am using MqReply node to send the reply. Problem here is Expiry which is set in MQMD header is not reflected in Reply messages when MqReply node is used. Instead it works fine when MqOutput node is used.
Is there any differences in the behaviour of MqReply and MqOutput nodes when comes to Message expiry?
You are probably using the MQMD from the requester for the MQreply node. I would think that there is no expiry on that incoming message so there is no expiry on your reply... Have fun _________________ MQ & Broker admin
Posted: Thu Jul 09, 2009 12:06 am Post subject: Re: Setting expiry for reply messages
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
touchofcrypticthunder wrote:
Problem here is Expiry which is set in MQMD header is not reflected in Reply messages when MqReply node is used. Instead it works fine when MqOutput node is used.
Setting how? Compute node immediately before the reply? How is the MQReply configured?
touchofcrypticthunder wrote:
Is there any differences in the behaviour of MqReply and MqOutput nodes when comes to Message expiry?
There are a number of differences between how the nodes behave! Hence my question above. _________________ Honesty is the best policy.
Insanity is the best defence.
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