You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/03/21 09:30:55 UTC

[camel] branch main updated: Fixed missing entry for summary in camel-main

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 0197935  Fixed missing entry for summary in camel-main
0197935 is described below

commit 0197935574f14e68226afeaa86f4dc80c2737f7c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 21 10:29:56 2022 +0100

    Fixed missing entry for summary in camel-main
---
 .../src/main/java/org/apache/camel/main/BaseMainSupport.java          | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
index 8d2b2c3..078eb7c 100644
--- a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
+++ b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
@@ -666,6 +666,7 @@ public abstract class BaseMainSupport extends BaseService {
         if (failFast != null) {
             mainConfigurationProperties
                     .setAutoConfigurationFailFast(CamelContextHelper.parseBoolean(camelContext, failFast.toString()));
+            autoConfiguredProperties.put("camel.main.auto-configuration-fail-fast", failFast.toString());
         } else {
             failFast = prop.remove("camel.main.autoConfigurationFailFast");
             if (failFast == null) {
@@ -703,7 +704,7 @@ public abstract class BaseMainSupport extends BaseService {
             if (pattern != null) {
                 mainConfigurationProperties.setRoutesIncludePattern(
                         CamelContextHelper.parseText(camelContext, pattern.toString()));
-                autoConfiguredProperties.put("camel.main.auto-configuration-environment-variables-enabled",
+                autoConfiguredProperties.put("camel.main.routes-include-pattern",
                         pattern.toString());
             }
         }
@@ -755,6 +756,7 @@ public abstract class BaseMainSupport extends BaseService {
         if (pattern != null) {
             mainConfigurationProperties
                     .setRoutesIncludePattern(CamelContextHelper.parseText(camelContext, pattern.toString()));
+            autoConfiguredProperties.put("camel.main.routes-include-pattern", pattern.toString());
         } else {
             pattern = prop.remove("camel.main.routesIncludePattern");
             if (pattern == null) {