Class JsonArrayArrayAggregator

  • All Implemented Interfaces:
    MessageAggregator

    @ComponentProfile(summary="Aggregate messages that are JSON Arrays.",
                      since="3.6.5",
                      tag="json")
    public class JsonArrayArrayAggregator
    extends JsonAggregatorImpl
    MessageAggregator implementation that adds each message to a JSON array.

    The pre-split message is always ignored; the payloads from the collection are assumed to be JSON array or objects, and will be aggregated together as a single JSON array. Messages that are not JSON array or objects will be ignored .

    Since:
    3.6.5

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