سؤال

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