[ 
https://issues.apache.org/jira/browse/CAMEL-7601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-7601.
--------------------------------

    Resolution: Not a Problem

> maximumRedeliveries=-1 plus scheduledExecutorService=pool(1 thread) equals 
> problem
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-7601
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7601
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.12.1, 2.13.2
>            Reporter: Andrzej Gdula
>            Priority: Minor
>
> https://github.com/agdula/camel-test/blob/master/src/test/java/com/pb/psep/testbase/ThreadPoolTest.java
> Test that demonstrates a problem when
>       onException(SomeException.class).maximumRedeliveries(-1)
>     and
>       scheduledExecutorService=poolOfThreads(X)
> When there are lots of routes using single threadPool and there happen to be 
> more than X exceptions in X routes that will be redelivered forever
> then thread pool gets hogged and other routes are unable to process.
> Thread are stuck on 
> org.apache.camel.processor.RedeliveryPolicy.sleep(RedeliveryPolicy.java:188)
>   If camel instead of waiting would schedule retry then it probably would 
> solve the problem.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to