camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hadrian Zbarcea <hzbar...@gmail.com>
Subject Re: Producer Multiple Messages
Date Mon, 21 Feb 2011 17:27:48 GMT
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 [rpunnoose@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
> 
> 


Mime
View raw message