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: error handling async instead of sync
Date Tue, 23 Jul 2013 08:15:20 GMT
Hi

You have to set asyncConsumer=true on the JMS endpoint.

See details at
http://camel.apache.org/jms

On Tue, Jul 23, 2013 at 9:12 AM, Marco Westermann <MarWestermann@gmx.de> wrote:
> Hi,
>
> I have a route with an errorHandler configured. I set it to redeliver async.
> But when an error occures the remaining messages on the queue are processed
> after the redelivery of the failed message ends.
>
> Here is my routebuilder: http://pastebin.com/8fUED75R
>
> Is there something wrong with it? I use camel 2.10.4
>
> the process method which is invoked from the route logs a line: processing
> new order 123123
> and my log looks like this: http://pastebin.com/iLE6MqJJ
>
> why is my redelivery sync instead of async?
>
> best regards,
>
> Marco



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message