Re: DeadLetterChannelBuilder in combination w/ doTry/doCatch

2020-04-22 Thread Gerald Kallas
Hi Claus, tx for the reply. I already thought about direct send to the DLQ. When I'm going to use a file consumer with a failure directory configured eg http://www.osgi.org/xmlns/blueprint/v1.0.0"; > > > > xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"; > >

Re: DeadLetterChannelBuilder in combination w/ doTry/doCatch

2020-04-22 Thread Claus Ibsen
Hi Dont throw an exception again while handling the exception in doCatch. But instead you can send the message direct to the DLQ. And also dont make your error handling to complex. On Wed, Apr 22, 2020 at 2:37 PM Gerald Kallas wrote: > > Hi all, > > I've following route. The doCatch should do so

DeadLetterChannelBuilder in combination w/ doTry/doCatch

2020-04-22 Thread Gerald Kallas
Hi all, I've following route. The doCatch should do some specific stuff in case of an error, followed by a general execption thrown for hitting the error handler. I'd expect that in case of an error the message would be sent to the DLQ but this doesn't happen. What I'm doing wrong here? Tx for