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 89423f3 CAMEL-17638: EIP model options with old fashioned naming
xxxRef style should be made modern style.
89423f3 is described below
commit 89423f30d771866621336a64cb2e434b5b99fe5d
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Feb 24 19:03:38 2022 +0100
CAMEL-17638: EIP model options with old fashioned naming xxxRef style
should be made modern style.
---
.../org/apache/camel/component/hystrix/processor/HystrixReifier.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/processor/HystrixReifier.java
b/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/processor/HystrixReifier.java
index 4d46555..c9e3b75 100644
---
a/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/processor/HystrixReifier.java
+++
b/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/processor/HystrixReifier.java
@@ -240,8 +240,8 @@ public class HystrixReifier extends
ProcessorReifier<CircuitBreakerDefinition> {
// 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).getHystrixConfiguration(ref),