Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Notice how the strategyRef attribute is used on the <aggregator> element to refer to the custom strategy in Spring.

...

Exchange Properties

The following headers properties is set on each Exchange that are aggregated:

header

type

description

org.apache.camel.Exchange.AggregatedCount

int

Camel 1.x: The total number of Exchanges aggregated in this combined Exchange.

CamelAggregatedSize

int

Camel 2.0: The total number of Exchanges aggregated into this combined Exchange.

CamelAggregatedIndex

int

Camel 2.0: The current index of this Exchange in the batch.

Batch options

The aggregator supports the following batch options:

...