Posted: Wed Feb 17, 2010 1:49 pm Post subject: Aggregation Nodes
Yatiri
Joined: 11 Nov 2008 Posts: 610
Hi Guys,
I have a design where we send a logon information from message hub and next receive confirmation for it. If the confirmation is received(within timeout interval) we proceed further by sending other request and receive confirmation for it. Later the actual processing of message continues.
I know we can use aggragate nodes here. But we have a mainflow wherein we will call the subflow to generate log on requst and receive confirmation.
I am wondering if we can use aggregation in subflows.
I was also thinking of MQGET node, but I am afraid if the message is sent after timeout interval. In that case the next day when I try to receive the confirmation message I get the old confirmation message.
I think the option here is to set expiry on the confirmation message.
Can you guys please let me know you thoughts on this.
Posted: Wed Feb 17, 2010 2:28 pm Post subject: Re: Aggregation Nodes
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
Sam Uppu wrote:
I think the option here is to set expiry on the confirmation message.
I think you're right. It's always wise to set the expiry on any reply message to be slightly longer than the length of time the requester will wait for a reply. _________________ Honesty is the best policy.
Insanity is the best defence.
Posted: Wed Feb 17, 2010 8:40 pm Post subject: Re: Aggregation Nodes
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
Sam Uppu wrote:
I was also thinking of MQGET node, but I am afraid if the message is sent after timeout interval. In that case the next day when I try to receive the confirmation message I get the old confirmation message.
Whatever made you think that? I do hope you are doing the get by correlationId in the MQGET node. So even the next day there is no chance of getting the old message... especially if you are letting MQ set the correlationId and messageID. If the messages don't expire you may need to periodically clear (get) old messages (we just clear the queue)...
Sam Uppu wrote:
I think the option here is to set expiry on the confirmation message.
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