You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Mond Raymond <mo...@gmail.com> on 2011/05/26 21:30:43 UTC
Re: aggregator - error handling default does not propogate error
Again, just a follow up note, I simplified this in the end as in:
public class GetVehicleData extends RouteBuilder {
private String fromURI;
@Override
public void configure() throws Exception {
from(fromURI).multicast(new
VehicleDataAggregator()).stopOnException()
.to("seda:coreVehicleData", "seda:warrantyVehicleData",
"seda:accessoryVehicleData");
from("seda:coreVehicleData").to("bean:coreVehicleData");
from("seda:warrantyVehicleData").to("bean:warrantyVehicleData");
from("seda:accessoryVehicleData").to("bean:accessoryVehicleData");
}
@Required
public void setFromURI(final String fromURI) {
this.fromURI = fromURI;
}
}
Works a treat :)
Ray
--
View this message in context: http://camel.465427.n5.nabble.com/aggregator-error-handling-default-does-not-propogate-error-tp4283684p4429815.html
Sent from the Camel - Users mailing list archive at Nabble.com.