You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christian Müller <ch...@gmail.com> on 2014/06/25 10:42:10 UTC

Re: Redeliver policy keep parking threads

Can you please  share your route definition with us? Which version do you
use?

Best,
Christian
Am 19.05.2014 12:06 schrieb "poussma" <MA...@zenika.com>:

> Hello,
>
> I have a route that tries to redeliver the messages in case of the
> destination is not available.
>
> I noticed when camel tries to redeliver a message, the thread that was
> originality handling the message seems to be parked and waiting for the
> redeliver termination.
>
> If my route fails to send 1000 messages, I'll have 1000 threads waiting in
> memory for the redeliver to finish.
>
> The problem is that is has been resulting to generate dozen of
> java.lang.OutOfMemoryError: unable to create new native thread
>
> I tried the asyncDelayedRedelivery but is did not change that much.
>
> Is there a way to tell camel to free the threads during the redeliver delay
> ?
>
> Thanks in advance
> M.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Redeliver-policy-keep-parking-threads-tp5751283.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>