This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new bf0de7c  CAMEL-17638: EIP model options with old fashioned naming 
xxxRef style should be made modern style.
bf0de7c is described below

commit bf0de7c97843f8ba873538cf84cf9ec3bb8814a1
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Feb 24 17:01:27 2022 +0100

    CAMEL-17638: EIP model options with old fashioned naming xxxRef style 
should be made modern style.
---
 .../component/microprofile/faulttolerance/FaultToleranceReifier.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceReifier.java
 
b/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceReifier.java
index 48e864d..9a6c4fe 100644
--- 
a/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceReifier.java
+++ 
b/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceReifier.java
@@ -147,8 +147,8 @@ public class FaultToleranceReifier extends 
ProcessorReifier<CircuitBreakerDefini
 
         // Extract properties from referenced configuration, the one configured
         // on camel context takes the precedence over those in the registry
-        if (definition.getConfigurationRef() != null) {
-            final String ref = parseString(definition.getConfigurationRef());
+        if (definition.getConfiguration() != null) {
+            final String ref = parseString(definition.getConfiguration());
 
             loadProperties(properties, Suppliers.firstNotNull(
                     () -> 
camelContext.getExtension(Model.class).getFaultToleranceConfiguration(ref),

Reply via email to