[
https://issues.apache.org/jira/browse/CAMEL-7973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matteo Pavesi updated CAMEL-7973:
---------------------------------
Description:
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 propose a patch with the failing test and a proposal of solution.
was:
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.
> 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 propose a patch with the failing test and a proposal of solution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)