Hi Not programmatically but you can setup a timeout.
Though we could consider having some apis for breaking out from the aggregation strategy. But if doing so it further complicates the code as then multicast has to deal with late replies that comes back later but they should be discarded as "you didnt wait for them" etc. On Tue, May 5, 2015 at 6:40 AM, romainp <romain.pige...@sopra.com> wrote: > Hi, > > I'm currently using multicast pattern in order to send concurrently the same > message in two differents pipes. > I wish that my aggregationstrategy could interrupt the wait for the end of > all pipes. > For example, if my pipe2 is the first to anwser (I setted the streaming > option to true) and this exchange contains an element A, then this is the > message with priority one. I doesn't need to wait for others. Otherwise, I > have to wait for the end of all pipes in order to determiner which message > should be returned. > > Is there any way to do this? > > THanks. > > Regards > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Interrupt-MultiCast-waiting-tp5766701.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/