Apparently stacktrace in my previous thread was coming from
EndpointMessageListener. Means exception was being thrown before camel
receiving the message hence all efforts to configure onException() and
errorHandler() on a route failed.

After configuring following two properties on a camel JMS component I am
able to catch this exception. However I need to forward this to an error
queue instead of just logging them. Any idea?

<property name="exceptionListener" ref="ensJmsExceptionListener"/>
                <property name="errorHandler" ref="ensJmsErrorHandler"/>

Thanks,

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Error-handling-throwing-exception-not-moving-to-error-queue-tp5714076p5714092.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to