Show Table of Contents
13.7.2. Aggregator
| Class | org.jboss.soa.esb.actions.Aggregator |
This is a message aggregation action. It is an implementation of the aggregator enterprise integration pattern. (see http://www.enterpriseintegrationpatterns.com/Aggregator.html.)
This action relies on all messages having the correct correlation data. This data is set on the message as a property called "aggregatorTag" (Message.Properties). See the ContentBasedRouter and StaticRouter actions.
The data has the following format:
[UUID] ":" [message-number] ":" [message-count]
If all the messages have been received by the aggregator, it returns a new Message containing all the messages as part of the Message.Attachment list (unnamed), otherwise the action returns null.
Table 13.17. Aggregator Properties
| Property | Description | Required |
|---|---|---|
| timeoutInMillis |
Timeout time in milliseconds before the aggregation process times out.
| No |
<action class="org.jboss.soa.esb.actions.Aggregator" name="Aggregator">
<property name="timeoutInMillies" value="60000"/>
</action>
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.