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/01/05 10:05:25 UTC

[camel-karaf] branch main updated: CAMEL-17420: camel-core - Add flag to turn on|off source loc:line

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-karaf.git


The following commit(s) were added to refs/heads/main by this push:
     new dfbfd42  CAMEL-17420: camel-core - Add flag to turn on|off source loc:line
dfbfd42 is described below

commit dfbfd42b5fffa911896632bfa9c6d5e6f889be2e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jan 5 11:05:15 2022 +0100

    CAMEL-17420: camel-core - Add flag to turn on|off source loc:line
---
 .../org/apache/camel/blueprint/CamelContextFactoryBean.java   | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/CamelContextFactoryBean.java b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/CamelContextFactoryBean.java
index 982e7ef..9e93657 100644
--- a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/CamelContextFactoryBean.java
+++ b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/CamelContextFactoryBean.java
@@ -113,6 +113,8 @@ public class CamelContextFactoryBean extends AbstractCamelContextFactoryBean<Blu
     @XmlAttribute
     private String messageHistory;
     @XmlAttribute
+    private String sourceLocationEnabled;
+    @XmlAttribute
     private String logMask;
     @XmlAttribute
     private String logExhaustedMessageBody;
@@ -746,6 +748,15 @@ public class CamelContextFactoryBean extends AbstractCamelContextFactoryBean<Blu
     }
 
     @Override
+    public String getSourceLocationEnabled() {
+        return sourceLocationEnabled;
+    }
+
+    public void setSourceLocationEnabled(String sourceLocationEnabled) {
+        this.sourceLocationEnabled = sourceLocationEnabled;
+    }
+
+    @Override
     public String getLogMask() {
         return logMask;
     }