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 Message Broker (ACE) Support » Dynamically controlling Aggregate Timeout in v6

Post new topic  Reply to topic
 Dynamically controlling Aggregate Timeout in v6 « View previous topic :: View next topic » 
Author Message
bradhack
PostPosted: Mon Jan 22, 2007 8:45 am    Post subject: Dynamically controlling Aggregate Timeout in v6 Reply with quote

Newbie

Joined: 28 May 2002
Posts: 7

We are building a generic Enterprise Service Bus in WMB v6, and incorporating features that existed in prior middleware hubs at our company. One of them is giving the sending application the option of changing the amount of time before we send a timeout response.

We've use aggregation heavily, both in WMQI v2 and WBIMB v5 and know that the timeout parameter could only be set at design time in the Aggregate Control node. After reading some v6 documentation and help, I saw this statement from IBM:

[i]"The new aggregations nodes use WebSphere MQ message expiry to manage time outs of messages. For message expiry to work, the message queues must be browsed. The aggregation nodes browse the queues automatically to ensure that expired messages are processed."[/i]

I assume the timeout value set in the Agg Control node will set the expiry, but my question is, is it possible make a copy of the original message, overwrite the expiry based on info sent by the sending system, and send it as an Aggregate Request directly to the same reply to queue that the backend ressponses arrive on, for the fan-in process? Then, if the response messages have not arrived in x amount of time, we would format the desired timeout message appropriately.

We are not quite at v6 yet, so I cannot try a proof of concept just yet, but we need this for a detailed design document.

I know we could set up a subflow that would route to a number of different aggregate control nodes with the same control name and different timeout values, and give the users the option of selecting from a list of timeouts, but if we could allow any value, the users would prefer it.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jan 22, 2007 9:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You don't want to consider screwing around with the messages in the Aggregate internal queues.

It's a good way to introduce significant unpredictability into your processing.

You could experiment and see if setting different expiries on the AggregateRequest messages (in the Properties or MQMD trees) will affect the reply timeout.

You can look at using the new Timeout* nodes in WMB to enhance the timeouts, although I'm not quite sure how that will work.

Other than that, I don't think you can do this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Dynamically controlling Aggregate Timeout in v6
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.