camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gilboy <>
Subject Exception handling in consumer of my custom component
Date Wed, 25 Jul 2012 21:01:08 GMT

Assume I have a route which goes:


Lets also assume I have an exception/error/retry policy set on this route.
In my custom component consumer I need to invoke something like:
Exchange exchange = endpoint.createExchange();

Now the call to process requires me to catch an exception. However, I want
exceptions to be handled via the exception handling policy defined in the
route. In other words, I don't want my consumer to have to implement
exception handling logic.

Just wondering how I can get round this


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message