camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Webb <elihusma...@gmail.com>
Subject processor generating multiple messages
Date Thu, 07 Apr 2011 16:13:51 GMT
I have a database that I need to query and put the results through a
camel route.  The query will result in hundreds of thousands of rows.
My query will return 1000 rows at a time and pass them through the
route.

So I want to know how I can build a processor that can perform the
query multiple times, and place each 1000 rows in a new exchange and
send to the next processor in the route.  From what I have found, a
processor can only 'send' an Exchange out once.

Thanks,
Mark

Mime
View raw message