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

Work on CAMEL-26104 started by shashank.
----------------------------------------
> camel-core - ThrottlingExceptionRoutePolicy: create the half-open timer 
> through the ExecutorServiceManager
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26104
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: shashank
>            Assignee: shashank
>            Priority: Minor
>
> {{ThrottlingExceptionRoutePolicy.addHalfOpenTimer}} (camel-support) creates a 
> new {{java.util.Timer}}, and with it a new thread, every time the circuit 
> opens or reopens. Scheduling the half-open check on a scheduled executor from 
> the {{ExecutorServiceManager}} would reuse one thread, give it a Camel thread 
> name, shut it down with the route policy, and let camel-test-dst run the 
> half-open check in virtual time (today it fires after {{halfOpenAfter}} of 
> real time on a thread outside the harness).
> Follow-up of CAMEL-25911.
> _Filed with Claude Code on behalf of allthingssecurity._



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to