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.

Batch options

The aggregator supports the following batch options:

Option

Default

Description

batchSize

100

The in batch size. This is the number of incoming exchanges that is processed by the aggregator and when this threshold is reached the batch is completed and send.

batchOutSize

0

The out batch size. This is the number of exchanges currently aggregated in the AggregationCollection. When this threshold is reached the batch is completed and send. By default this option is disabled. The difference to the batchSize options is that this is for outgoing, so setting this size to eg. 50 ensures that this batch will at maxium contain 50 exchanges when its sent.

batchTimeout

1000L

Timeout in millis. How long should the aggregator wait before its completed and sends whatever it has currently aggregated.

AggregationCollection

TODO:

Include Page
CAMEL:Using This Pattern
CAMEL:Using This Pattern