WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

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:

This topic assumes that you have already created a message flow that contains a Collector node. For more information, see Creating a flow that uses message collections.

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, the incomplete message collection is stored on the queue indefinitely, and not propagated for further processing. If a Collector node has 2 input terminals, and one of the terminals stops receiving messages, for example if the source application is not running, there is the potential for the queue of incomplete message collections to grow indefinitely. To ensure that these incomplete message collections are released after an appropriate amount of time, configure the Collection Expiry property. 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. Open the message flow with the Collector node.
  2. Right-click the Collector node and select Properties.
  3. Click the Basic tab.
  4. In Collection Expiry, enter a time in seconds for the collection expiry timeout.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:46:19


Task topicTask topic | Version 8.0.0.7 | ac37740_