camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1600) DeadLetterChannel - add option for moving the original exchange to the dead letter queue instead of the current snapshot of the exchange
Date Mon, 11 May 2009 12:18:52 GMT
DeadLetterChannel - add option for moving the original exchange to the dead letter queue instead
of the current snapshot of the exchange
----------------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-1600
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1600
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
    Affects Versions: 2.0-M1, 1.6.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.0.0


Idea from an end user on the fuse forum:
http://fusesource.com/forums/thread.jspa?messageID=2649&#2649

    /**
     * Will use the original input {@link Exchange} when an {@link Exchange} is moved to the
dead letter queue.
     * <p/>
     * <b>Notice:</b> this only applies when all redeliveries attempt have failed
and the {@link Exchange} is doomed for failure.
     * <br/>
     * Instead of using the current inprogress {@link Exchange} IN body we use the original
IN body instead. This allows
     * you to store the original input in the dead letter queue instead of the inprogress
snapshot of the IN body.
     * For instance if you route transform the IN body during routing and then failed. With
the original exchange
     * store in the dead letter queue it might be easier to manually re submit the {@link
Exchange} again as the IN body
     * is the same as when Camel received it. So you should be able to send the {@link Exchange}
to the same input.
     * <p/>
     * By default this feature is off.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message