You are probably looking for a splitter or a loop. Most likely 
splitter/aggregator.

Hadrian


On Feb 21, 2011, at 12:17 PM, Roshan A. Punnoose wrote:

> Sorry got the terminology incorrect, I meant Producer instead of Consumer.
> 
> I want to be able to do something like the following:
> 
> from... setBody(query).to("mycomponent...").  get N messages for each row 
> returned.
> 
> Roshan
> 
> ____________
> ____________________________
> From: Roshan A. Punnoose [rpunno...@proteuseng.com]
> Sent: Monday, February 21, 2011 12:15 PM
> To: users@camel.apache.org
> Subject: Consumer Multiple Messages
> 
> This may have already been asked, but I can't seem to find the answer on 
> Google...
> 
> I have created a custom component, with a custom consumer. My consumer takes 
> a query, and outputs results. I want there to be N exchanges for 1 query, but 
> I can't seem to find a way to send multiple exchanges after the consumer has 
> processed the query. Any ideas?
> 
> Roshan
> --
> Follow this link to mark it as spam:
> http://mailfilter.proteus-technologies.com/cgi-bin/learn-msg.cgi?id=6D6BB2829B.A035D
> 
> 

Reply via email to