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: Camel+ActiveMQ redelivery blocking story
Date Tue, 19 Jul 2016 10:04:02 GMT
See the asyncConsumer option on the jms component.
Also check AMQ it has some options for async redelivery you need to turn on.

On Fri, Jul 15, 2016 at 5:34 PM, afilippov <andrey.v.filippov@gmail.com> wrote:
> Hi,
> I have a test route starting from queue with fault thrown and redelivery
> set. Could somebody explain me a strange behavior of redelivery - there are
> 2 routes in context with *direct* component from one to another. There are
> some logs in both routes. There is an exception thrown at the end of second
> route.
> So my questions are:
> 1. Why while redelivery there are only logs from second route appears - no
> logs from first route? (Although I am using
> org.apache.camel.builder.NoErrorHandlerBuilder in the second route)
> 2. Although I am using *nonBlockingRedelivery* and *useAsyncSend* redelivery
> hanged the whole queue and it is waiting while redelivery with standard
> delays happens(it could be seen by observing logs - 3 messages sent in
> different threads and other messages is waiting while one message is being
> redelivered) - what should I change to unblock the queue while redelivery?
> My test project in attach  fav-test.zip
> <http://camel.465427.n5.nabble.com/file/n5785163/fav-test.zip>  .
> Thanks in advance!
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-ActiveMQ-redelivery-blocking-story-tp5785163.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message