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