[
https://issues.apache.org/jira/browse/CAMEL-16789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-16789:
--------------------------------
Priority: Minor (was: Major)
> faulttolerance: timeoutScheduledExecutorServiceRef and bulkHead* to be
> deprecated ?
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-16789
> URL: https://issues.apache.org/jira/browse/CAMEL-16789
> Project: Camel
> Issue Type: Task
> Reporter: Alex Dettinger
> Priority: Minor
> Fix For: 3.x
>
>
> It looks like faulttolerance *timeoutScheduledExecutorServiceRef* and
> *bulkHead** have no effect.
> [FaultToleranceConfiguration.getTimeoutScheduledExecutorServiceRef()|https://github.com/apache/camel/blob/main/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceConfiguration.java#L89..L91]
> is never called from camel code, so the configured value is never reified
> into an actual processor as far as I get it.
> Concerning bulkHead*, the [FaultToleranceReifier does not
> propagate|https://github.com/apache/camel/blob/main/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceReifier.java#L103..L108]
> the bulkHeadEnabled boolean by calling something like
> *target.setBulkheadEnabled(true);*
> As such, the FaultToleranceProcessor never actually executes the
> [doStart()|https://github.com/apache/camel/blob/main/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceProcessor.java#L348..L352]
> and
> [process()|https://github.com/apache/camel/blob/main/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceProcessor.java#L239..L243]
> code related to bulkhead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)