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 ab1bab35b1f CAMEL-18406: camel-jbang - Status command
ab1bab35b1f is described below
commit ab1bab35b1f9c70201c49cfb75c5388eb05efd15
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Aug 25 07:36:54 2022 +0200
CAMEL-18406: camel-jbang - Status command
---
.../org/apache/camel/dsl/jbang/core/commands/process/CamelStatus.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/CamelStatus.java
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/CamelStatus.java
index 9eb7253d027..b3d552fb74c 100644
---
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/CamelStatus.java
+++
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/CamelStatus.java
@@ -30,7 +30,8 @@ public class CamelStatus extends CamelCommand {
@Override
public Integer call() throws Exception {
- new CommandLine(this).execute("--help");
+ // default to get the integrations
+ new CommandLine(new CamelContextStatus(getMain())).execute();
return 0;
}
}