WebSphere Message Brokers
File: ac37740_
Writer: Cerys Giddings

Task topic

This build: July 31, 2007 21:20:58

Setting the collection expiry

The collection expiry is a property on the Collector node to set a maximum timeout for adding messages to a message collection.

Before you start:

To complete this task, you must have completed the following tasks:

When messages are added to a message collection, the incomplete message collection is stored on a queue. If the message collection's event handlers are not satisfied, then the incomplete message collection is stored on the queue indefinitely, and not propagated for further processing. You must configure a timeout value for a message collection to ensure that messages do not get added to a message collection indefinitely. You can configure this timeout, as a value in seconds, in the Collection Expiry property on the Collector node. The collection expiry timeout starts when the first message is accepted into a message collection. The collection expiry overrides any individual event handler timers. When the collection expiry timeout has passed for a message collection, the incomplete message collection is propagated to the Expire terminal. Connect appropriate processing nodes to the Expire terminal, to handle any expired message collections in your message flow.

To configure a collection expiry:

  1. Switch to the Broker Application Development perspective.
  2. Open the message flow with the Collector node.
  3. Right-click the Collector node and select Properties.
  4. Click on the Basic tab.
  5. In Collection Expiry, enter a time in seconds for the collection expiry timeout.
Next: Configure the collection name.
Related concepts
Message flows overview
Related tasks
Configuring flows for message collection
Using control messages with the Collector node
Designing a message flow
Creating a message flow
Defining message flow content
Related reference
Collector node
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:20:58

ac37740_ This topic's URL is: