Mario, if you know in advance which beans will be consuming from the endpoint, you could define them statically using Multicast, without the dynamism of Recipient-List. if you don't need to await responses from the Multicast targets before continuing from the Multicast block to the next pipe in the route, i think setting parallelProcessing=true and streaming=true, combined with using the inOnly Message Exchange Pattern [1] for each target in the Multicast, *might* work (committers - is this correct?).
however, i employed a different approach for a similar scenario where i just need to dispatch a "fire-and-forget" event to a set of consumers. i used SEDA [2] queues with multipleConsumers=true for a lightweight multicast. if you want to, you could even combine outputs later on in a "gathering" SEDA queue that funnels into an aggregator or other processor / Enterprise Integration Pattern [3]. SEDA is probably my favorite component as there are some fun split/join flows you can orchestrate with it. [1]: http://camel.apache.org/exchange-pattern.html [2]: http://camel.apache.org/seda.html [3]: http://camel.apache.org/enterprise-integration-patterns.html ~ Reuben On Wed, Mar 28, 2012 at 14:31, mgiammarco <mgiamma...@gmail.com> wrote: > Hello, > I am getting confused because there are so many ways to do this thing. > > I need that, in my route message X get copied n times to n different beans. > I need to choose which beans as recipientlist patterns says. Now I need > that > each bean is parallel processed. > > But I do NOT need absolutely messages aggregation. I do NOT need also that > faster beans wait for slower beans before sending the result. > > I need simply that the n messages will go in an output route as fast as > possible. > > I am looking recipientlist, multicast, parallel processing and I am getting > confused. I think recipientlist with an header with the list of beans can > work but I am not sure. > > Can you help me? > > Thanks, > Mario > > -- > View this message in context: > http://camel.465427.n5.nabble.com/RecipientList-without-aggregation-tp5601505p5601505.html > Sent from the Camel - Users mailing list archive at Nabble.com. >