Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

Error handling in aggregation strategy

$
0
0
Hi,

I have a camel route having a custom aggregation strategy which extends
AggregationStrategy. As per the signature of aggregate() method, it does not
allow to throw an exception. But I want to handle the exceptions (that
might occur in the aggregation strategy) in the base route builder in the
onException blocks. Can someone help me in handling the exceptions that
occur in the aggregation strategy?

Thanks,
Richa

Viewing all articles
Browse latest Browse all 6551

Trending Articles