Aggregate ExampleAvailable as of Camel 2.3 AboutThis example demonstrates the new overhauled Aggregator EIP in Apache Camel 2.3. The example is focused on the persistence support, which means the aggregated messages is stored in a persistent file storage using the new HawtDB component. How to runYou simply run it using the following maven goal: How it worksThe example is an interactive example where it prompt on the console for you to enter a number and press ENTER. The numbers you enter will then be aggregated and persisted. That means you can at any time hit When you want to complete the aggregation you can enter The persistent datastore is located in the ExampleFor example we start the example for the first time using Now we start the example again using Using AggregatorThe example is configured as follows in Spring XML. And it has a See Also |