camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Pavesi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7973) CircuitBreakerLoadBalancer fails on async processors
Date Mon, 27 Oct 2014 15:02:33 GMT
Matteo Pavesi created CAMEL-7973:
------------------------------------

             Summary: CircuitBreakerLoadBalancer fails on async processors
                 Key: CAMEL-7973
                 URL: https://issues.apache.org/jira/browse/CAMEL-7973
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.14.0
            Reporter: Matteo Pavesi
            Priority: Minor


The CircuitBreakerLoadBalancer works fine on direct synchronous processor, but it seems to
not behave as expected in case of async processor.

To reproduce the error, it's enough to add a .threads(1) before the mock processor in the
CircuitBreakerLoadBalancerTest routeBuilder configuration.

This misbehaviour seems to be related to the use of the AsyncProcessorConverterHelper to force
any processor to behave like asynchronous. 

I'm going to submit a pull request with the failing test and a proposal of solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message