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 15:52:18 UTC
[camel] branch main updated: camel-jbang - Should have source location enabled by default.
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 0183b89 camel-jbang - Should have source location enabled by default.
0183b89 is described below
commit 0183b8922ab73c99e8f45b3fac73a02a6ee6300e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jan 5 16:51:36 2022 +0100
camel-jbang - Should have source location enabled by default.
---
.../src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
index abd3be0..2a41c91 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
@@ -138,6 +138,7 @@ class Run implements Callable<Integer> {
main.addInitialProperty("camel.main.shutdownTimeout", "5");
// turn off lightweight if we have routes reload enabled
main.addInitialProperty("camel.main.routesReloadEnabled", reload ? "true" : "false");
+ main.addInitialProperty("camel.main.sourceLocationEnabled", "true");
main.addInitialProperty("camel.main.tracing", trace ? "true" : "false");
// durations