Hi, I started a thread here: http://stackoverflow.com/questions/21668716/camel-aggrgator-misunderstanding Maybe somebody has a clue or a working example. I am trying to get an aggregation strategy working wherein all the messages are bundled in the body of the final message.
My route is as follows: <route id="split"> <from uri="restlet:/split?restletMethod=POST"/> <setHeader headerName="correlationId"><constant>'12345'</constant></setHeader> <split> <tokenize token=","/> <to uri="direct:split-process"/> <to uri="direct:split-aggregate"/> </split> </route> <route id="split-process"> <from uri="direct:split-process"/> <transform> <simple>${body} ${headers.CamelSplitIndex}A</simple> </transform> </route> <route id="split-aggregate"> <from uri="direct:split-aggregate"/> <aggregate parallelProcessing="true" groupExchanges="true"> <correlationExpression><simple>${headers.correlationId}</simple></correlationExpression> <completionSize><constant>3</constant></completionSize> <to uri="mock:results"/> </aggregate> </route> So, if I post a message "a,b,c", I expect the result to be "a 0A, b 1A, c 2A". I see in the logs that all 3 messages have been processed by the aggregator. But the result of the RESTLEt call is empty. I have other examples were the original message is returned. What am I missing? Thanks. Klaus. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Aggrgator-Misunderstanding-tp5747049.html Sent from the Camel - Users mailing list archive at Nabble.com.