Multicast Aggregation Exception Handling

2011-08-22 Thread kcostilow
I'm trying to catch exceptions in each of my multicast processors, log it, and continue on. I've learned from this forum that onException() is not the way to go, because it applies to the entire route and not just to the multicast portion, fine. So from the camel docs I discovered I could impleme

Re: Multicast Aggregation Exception Handling

2011-08-22 Thread kcostilow
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);