WebSphere Message Brokers
File: ac37790_
Writer: Cerys Giddings

Task topic

This build: July 31, 2007 21:21:00

Using control messages with the Collector node

You can send control messages to the Collector node in order to control how complete message collections are propagated to other nodes in your message flow.

Before you start:

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

You can control when complete message collections are propagated to other nodes for processing, using messages sent to the Control terminal. The exact behavior depends on the settings that you have chosen for the Event coordination property on the Collector node. If you want to use control messages to propagate completed messages collections you must set the Event coordination property to one of the following:
  • All complete collections
  • First complete collection
In these cases, the complete message collections are held on a queue until a control message is received. If you set Event coordination to All complete collections, all the message collections held on the queue are propagated to the Out terminal. If you set Event coordination to First complete collection, only the first message collection on the queue is propagated to the Out terminal. If there are no complete message collections on the queue, the next message collection to complete is immediately propagated to the Out terminal.

Incomplete message collections that have exceeded the value for Collection expiry are immediately propagated to the Expired terminal regardless of the setting of Event coordination.

If you want to propagate any complete message collections after a set amount of time for further processing, connect a TimeoutNotification node to the Control terminal of the Collector node. You can use the TimeoutNotification node to send a control message to propagate the message collections to ensure that messages are processing within a reasonable time, or to schedule processing tasks.

For more information about driving a message flow using the TimeoutNotification node, see Automatically generating messages to drive a flow.

Alternatively, you can propagate complete message collections using a message from another application or message flow by connecting an input node to the Control terminal of the Collector node.

You can send any message to the Control terminal of the Collector node. The message received on the Control terminal is not examined by the broker and is discarded on receipt.

Related concepts
Message flows overview
Message collection
Related tasks
Configuring flows for message collection
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:21:00

ac37790_ This topic's URL is: