error handling async instead of sync

2013-07-23 Thread Marco Westermann
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

Re: error handling async instead of sync

2013-07-23 Thread Raul Kripalani
You can add the concurrentConsumers option to the JMS consumer. Camel will then keep consuming messages in other threads even if the first one is busy doing the redeliveries. Alternatively, you can configure broker-side redeliveries in AMQ is you want async behavior. In that case, you should not h

Re: error handling async instead of sync

2013-07-23 Thread Claus Ibsen
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 wrote: > Hi, > > I have a route with an errorHandler configured. I set it to redeliver async. > But when an error occures the remaining message