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 1aae17fde602 CAMEL-23622: Exclude camel.jbang properties from startup 
summary
1aae17fde602 is described below

commit 1aae17fde6027913816dcd03dc71cf3512fd6af5
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed May 27 10:08:33 2026 +0200

    CAMEL-23622: Exclude camel.jbang properties from startup summary
    
    Filter out internal `camel.jbang.*` properties from the
    property-placeholder startup summary log. These are JBang-internal
    properties (e.g. readmeFiles, classpathFiles) not meaningful to
    end users.
    
    Closes #23546
---
 .../src/main/java/org/apache/camel/main/BaseMainSupport.java       | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

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 df830d9473a9..79520eb3f9c5 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
@@ -3105,10 +3105,11 @@ public abstract class BaseMainSupport extends 
BaseService {
                     String k = entry.getKey().toString();
                     Object v = entry.getValue();
                     Object dv = propertyPlaceholders.getDefaultValue(k);
-                    // skip logging configurations that are using default-value
-                    // or a kamelet that uses templateId as a parameter
+                    // skip logging configurations that are using 
default-value,
+                    // a kamelet that uses templateId as a parameter,
+                    // or internal camel-jbang properties
                     boolean same = ObjectHelper.equal(v, dv);
-                    boolean skip = "templateId".equals(k);
+                    boolean skip = "templateId".equals(k) || 
k.startsWith("camel.jbang.");
                     if (!same && !skip) {
                         if (header) {
                             LOG.info("Property-placeholders summary");

Reply via email to