Hello, Baris! I'm afraid, you are asking to find a better solution for 2 x 2 = 4 problem.
Your solution is right. I would do it the same way. More over, here's an example from book "Camel in Action" by Claus Ibsen: public void configure() throws Exception { from("direct:start") .log("Sending ${body}") .aggregate(xpath("/order/@customer"), new MyAggregationStrategy()) .completionSize(2).completionTimeout(5000) .log("Sending out ${body}") .to("mock:result"); } So, what you are trying to do is correct. -- View this message in context: http://camel.465427.n5.nabble.com/Aggregate-up-to-N-ASAP-tp5758134p5758138.html Sent from the Camel - Users mailing list archive at Nabble.com.