Class AppendingMessageAggregator

java.lang.Object
com.adaptris.core.services.aggregator.MessageAggregatorImpl
com.adaptris.core.services.aggregator.AppendingMessageAggregator
All Implemented Interfaces:
MessageAggregator

@ComponentProfile(summary="MessageAggregator that appends all payloads to the original", since="3.9.1") public class AppendingMessageAggregator extends MessageAggregatorImpl
Implementation of MessageAggregator that just appends payloads.

This simply iterates over each of the messages; and appends their payloads to the original message. No checking is done of the payloads; it is a raw append using a stream copy.

In the adapter configuration file this class is aliased as appending-message-aggregator which is the preferred alternative to the fully qualified classname when building your configuration.