1 Reply Latest reply on Jun 30, 2009 12:35 PM by Italo Giovani Stefani

    Multicast: How to use aggregation stragegy

    Italo Giovani Stefani Newbie

      I tried to use multicast with an Aggregation Strategy. In may case, the aggrgation has been executed before the endpoint response.

       

      My route is something like this:

       

          from("direct:sample")

              .multicast(new MyAggregatorStrategy())

              .to("cxf:bean:ws01",

                   "cxf:bean:ws02",

                   "cxf:bean:ws03");

       

      I want to call 3 webservices and merge the responses. Debuging the process, MyAggregatorStrategy has been executed before the webservices.

       

      Am I missing something?

       

      Regards.

       

      Italo Stefani

      Vetta Technologies

      www.vettatech.com