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 <[email protected]> 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

Reply via email to