camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fordm <>
Subject Re: Rethrowing an exception using the Dead Letter Error Handler
Date Wed, 24 Jul 2013 12:53:08 GMT
Isn't it always the way. I've found the answer:

    <errorHandler deadLetterUri="myDLQ" type="DeadLetterChannel"
        <redeliveryPolicy maximumRedeliveries="3" />

    <route errorHandlerRef="myDLErrorHandler">
        <from uri="activemq:myFromQueue" />

            <redeliveryPolicy maximumRedeliveries="2" />
            <to uri="myDLQ" />
            <throwException ref="mySpecialException" />

        <to uri="jpa://foo" />

Who knows what I was trying to do before!

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message