I modified the issue, adding another problem that I discovered and that I believe my patch fixes.
The second problem addressed is that, after the opening of the circuit, the RejectedExecutionException raised by the circuit breaker is set in the Exchange, but it doesn't return. This cause the processor will receive the Exchange even if the circuit is open. In this case also, if the CircuitBreaker is instructed to react only to specific Exception, it will close the circuit after the following request, because the raised exception would be a RejectedExecutionException instead of the one specified in the configuration. -- View this message in context: http://camel.465427.n5.nabble.com/CircuitBreaker-possible-issue-with-async-processor-tp5758295p5758310.html Sent from the Camel - Users mailing list archive at Nabble.com.