camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gilboy <>
Subject error handling query
Date Mon, 01 Oct 2012 18:58:46 GMT

I noticed that most endpoint consumers do something like the following:

} catch (exception e){

Assume I have a route which consumes data from an endpoint whose consumer
uses the above logic. Also assume that the route is a simple pipeline which
has 4 processors and I define the default error handler to have 5 retries.

If an exception is thrown in the first processor will camel try to replay
the exchange through the first processor 4 more times?

I am certain that camel will try to replay the exchange if processor 2-4
throw an exception but not clear to me how it will behave if the first
processor throws an exception


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

View raw message