You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zh...@apache.org on 2023/02/17 15:11:23 UTC

[camel-spring-boot] branch camel-spring-boot-3.20.x updated: Update to use camel.lra.enabled (#752)

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

zhfeng pushed a commit to branch camel-spring-boot-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-3.20.x by this push:
     new 90beb92d15b Update to use camel.lra.enabled (#752)
90beb92d15b is described below

commit 90beb92d15b9d0f6d984ab5d52ad0be6925cd8b5
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Thu Feb 16 14:04:01 2023 +0800

    Update to use camel.lra.enabled (#752)
---
 .../camel/service/lra/springboot/LraServiceAutoConfiguration.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components-starter/camel-lra-starter/src/main/java/org/apache/camel/service/lra/springboot/LraServiceAutoConfiguration.java b/components-starter/camel-lra-starter/src/main/java/org/apache/camel/service/lra/springboot/LraServiceAutoConfiguration.java
index 246daaa2c1a..abca6418e1d 100644
--- a/components-starter/camel-lra-starter/src/main/java/org/apache/camel/service/lra/springboot/LraServiceAutoConfiguration.java
+++ b/components-starter/camel-lra-starter/src/main/java/org/apache/camel/service/lra/springboot/LraServiceAutoConfiguration.java
@@ -54,7 +54,7 @@ public class LraServiceAutoConfiguration {
 
     @Bean(name = "lra-service")
     @ConditionalOnMissingBean(CamelSagaService.class)
-    @ConditionalOnProperty(value = "camel.service.lra.enabled", havingValue = "true")
+    @ConditionalOnProperty(value = "camel.lra.enabled", havingValue = "true")
     public LRASagaService configureLraSagaService(LraServiceConfiguration configuration) throws Exception {
         LRASagaService service = new LRASagaService();