camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Per-component error handling
Date Mon, 21 Dec 2009 15:25:58 GMT
Hi

Use doTry .. doCatch and move the messages yourself to DLQ.

It was just way to complex to have per processor individual error handling.
So now its two scoped: per context and per route


On Mon, Dec 21, 2009 at 4:21 PM, Pavel <pagrus@gmail.com> wrote:
> Hi,
>
> Is subj still possible? My specific case is that I want to forward message
> to DLQ if error happened in JAXB unmarshaller, but redeliver for everything
> else.
> In Camel 2.0 it was possible to supply error handler reference to
> <camel:unmarshal /> (spring DSL), but that's not the case.
>
> For reference, route is activemq -> unmarshal -> bean -> marshal ->
> (reply-to destination)
>
> Thanks,
> Pavel
>



-- 
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

Mime
View raw message