On Wed, Dec 16, 2009 at 10:49 AM, titexe <[email protected]> wrote:
>
> Hello,
>
> I would like to know the configuration of error handler & dead letter
> channel to do the following:
>
> - Recover the original message an error in the route.

See useOriginalMessage


> - Generating an error message in a dead letter queue (with a level of debug
> or error).
>


You can just use a bean or another route as dead letter queue endpoint
and do whatever you want.

See more here
http://camel.apache.org/error-handling-in-camel.html
http://camel.apache.org/dead-letter-channel.html
... and chapter 5 in the Camel in Action book


> my definitions of roads in spring xml. And the version I use camel 2.1 and
> ActiveMQ 5.3.
>
> Thank you in advance.
>
> titexe
> --
> View this message in context: 
> http://old.nabble.com/Camel-2.1-%3A-Error-Handler---Recover-Original-Message-tp26808679p26808679.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to