WebSphere Message Brokers
File: ac37750_
Writer: Cerys Giddings

Task topic

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

Setting the collection name

You can set a default name, or use a correlation string, for the name of your message collections, using the Collection name property on the Collector node.

Before you start:

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

Each message collection produced by the Collector node has a name. The collection name is the value associated with the CollectionName attribute in the message collection tree structure. Each message collection has only one name.

You can either use Collection name to set a default name for message collections, or you can use the event handler properties to create a correlation string to use for the message collection name. You can use the correlation string to generate a unique name for the message collection, based on the content of the input messages. To use the correlation string for the collection name, you must enter the wildcard symbol *. If you leave Collection name blank, or if it is set to * and the value of the correlation string is empty, the CollectionName attribute of the message collection is set to an empty value.

The correlation string for each message collection is also copied into the WidcardMatch field of the Properties header of the propagated message collection.

To configure the message collection name:

  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 name, enter a name for the message collections generated by the Collector node. If you have set a value for Correlation path on your input terminals, you can use the * in the Collection name field to substitute the correlation string into the collection name value. Leave the collection name blank if you want your message collection name to be set to an empty value.
Next: Setting the event coordination property.
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

ac37750_ This topic's URL is: