Hi All, looks like the error handling is working. I had a bug in my code and that was raising exception, that exception was not re-routing it to DLQ. It was routing to Q attached to onException() route. If I have any exception on exchanging with external endpoint then it is re routing it to DLQ
Thank you all The error handling is working gnanda wrote: > > Hi All, > I upgraded my code from smx4.0 to smx4.2 to get better error handling > feature with transaction support. > > But looks like it is not doing as I was expecting. I could get onException > block works with transactional route. But if the transaction fail at the > end, it does not go to DeadLetterQueue which I configured in > activemq-broker.xml file. After reading the documents I got to know that > transactionalErrorHandler ignores DLQ setting. > > We cannot afford loosing any message in our scenario. > > Is there any way I could configure the transactionErrorHandler to reroute > the message to any other queue (example "errorQ") in case of failure? > > Please help. > > -- View this message in context: http://old.nabble.com/smx4%3Acamel2.2-transactional-error-handling-tp28450957p28466030.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
