Answering my own question #2, because I found a workaround:
Setting exception to null in aggreate() passes the unit test:
public Exchange aggregate(Exchange oldExchange, Exchange
newExchange) {
Throwable t = newExchange.getProperty(Exchange.EXCEPTION_CAUGHT,
Throwable.class);
if (t != null) {
System.err.println(t);
exceptions.add(t);
newExchange.setException(null);
}
return newExchange;
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Multicast-Aggregation-Exception-Handling-tp4724273p4724338.html
Sent from the Camel - Users mailing list archive at Nabble.com.