How could I use TransactionErrorHandler with a customized FailureProcessor?
I want to setup a global TransactionErrorHandler to handle all the exception in my routes, and it's also need to link with a customized processor, in which I could do anything with the exception, for example, log the exception into database.
> I want to setup a global TransactionErrorHandler to handle all the
> in my routes, and it's also need to link with a customized processor, in
> which I could do anything with the exception, for example, log the
> into database.
> the following is what I suppose to achieve:
> <bean id="exceptionHandler"
> class="org.apache.camel.spring.spi.TransactionErrorHandlerBuilder" >
> <property name="failureProcessor"
> <bean id="customizedEexceptionProcessor"
> <camel:camelContext xmlns="http://camel.apache.org/schema/spring"
> <camel:from uri="direct:start"/>
> <to uri="jms:requests?disableReplyTo=true"/>
> View this message in context:
> http://camel.465427.n5.nabble.com/How-could-I-use-TransactionErrorHandler-with-a-customized-FailureProcessor-tp5709813.html > Sent from the Camel - Users mailing list archive at Nabble.com.