What version of Camel do you use?

On Mon, Jan 6, 2014 at 12:03 AM, Minh Tran <minh.t...@winning.com.au> wrote:
> Hi all
>
> I'm currently using multicast in my route with an aggregation strategy and 
> I'm finding that if my multicast only has one route defined in it, then my 
> aggregation strategy is never called. Is this expected behaviour? I would 
> have expected the first call to the aggregation strategy to occur with the 
> newExchange being null.
>
> eg
> … multicast(myStrategy).to("direct:foo", "direct:bar").end()
> myStrategy is called, however
>
> … multicast(myStrategy).to("direct:foo").end()
> myStrategy is never called
>
> Admittedly there's no point having a multicast if it only goes to one route 
> but I am putting this in place because I am expecting to add extra routes in 
> the future to the multicast.
>
> Thanks
>



-- 
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
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to