Вопрос

Is there any way to override the default Apache Camel FatalFallbackErrorHandler?

As the class documentation states, it's purpose is as "an ErrorHandler used as a safe fallback when processing by other error handlers such as the OnExceptionDefinition." Indeed, this is exactly the scenario I'd like to handle, except instead of the FatalFallbackErrorHandler's simple logging, I'd like to pass the message to an activemq endpoint.

Это было полезно?

Решение

No there is not. It gets very complicated if nested error handlers triggers, which can also lead to circular looping etc.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top