Could I use the splitter in my producer directly? Or the async api directly? Or
would it only work if the splitter is defined in the route after the
to("mycomp..") statement?
Roshan
________________________________________
From: Hadrian Zbarcea [[email protected]]
Sent: Monday, February 21, 2011 12:27 PM
To: [email protected]
Subject: Re: Producer Multiple Messages
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 [[email protected]]
> Sent: Monday, February 21, 2011 12:15 PM
> To: [email protected]
> 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
>
>
--
Follow this link to mark it as spam:
http://mailfilter.proteus-technologies.com/cgi-bin/learn-msg.cgi?id=2B3A8282A3.A0654