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