Re: Route definition with aggregation

2009-08-05 Thread lauri.siltanen
the "direct" endpoint to link routes together so if you > have trouble with having aggregator nested > then just route to a "direct:foo" endpoint and then do a > > from("direct:foo").aggreagate... > > You can also try adding a .end() in your route to h

Route definition with aggregation

2009-08-05 Thread lauri.siltanen
I have a bunch of messages that need to be routed from EndpointA to EndpointB, always. In addition, sometimes these messages need to be aggregated to EndpointC. So always to B, sometimes to C. I have tries to achieve this by the following DSL definition: from(EndpointA).choice() .when(aggregat