camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcin80 <>
Subject camel aggregator
Date Thu, 27 May 2010 17:03:55 GMT


I have a topic and consumer consuming messages from this topic. I'd like to
save data from those messages to database using batch processing. I'm using
aggregator EIP and processor like this:

	  <camel:from uri="activemq:topic:output"/>
  	  <camel:aggregate batchSize="10">
         <camel:process ref="testProcessor"/>
But in process method of my processor I have single exchange while I expects
list of exchanges (processor will save data to database). 

How can I solve my problem? I'm using Camel 2.2 (Fuse ESB 4.2).

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message