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 2021/12/01 10:19:45 UTC
[camel] 02/02: CAMEL-17212: camel-jbang - Run goal can run any Camel file.
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
commit 877963c13fe795bb768891db0264e275c3dd5bcf
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Dec 1 11:18:42 2021 +0100
CAMEL-17212: camel-jbang - Run goal can run any Camel file.
---
docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 2 +-
dsl/camel-jbang/camel-jbang-core/pom.xml | 11 ++++++++++-
dsl/camel-jbang/camel-jbang-main/pom.xml | 2 ++
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 0590f54..7347357 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -37,7 +37,7 @@ jbang -Dcamel.jbang.version=3.14.0 CamelJBang@apache/camel [command]
== Running Routes
-You can run Camel routes from any of the supported DSLs in Camel such as YAML, XML, Java, Groovy.
+You can run Camel routes from any of the supported xref:dsl.adoc[DSLs] in Camel such as YAML, XML, Java, Groovy.
For example to run YAML-based routes which also refer to Kamelets in the catalog.
In order to do so, write a YAML-based file with the `route`, the `steps` and the `to` destination for the route. The following example, shows a route that uses the Timer Source Kamelet to produce messages every second. The body of the messages will be logged to the standard output. Subsequently, they will be sent to a AMQP 1.0 compliant broker using the JMS AMQ 1.0 Sink Kamelet.
diff --git a/dsl/camel-jbang/camel-jbang-core/pom.xml b/dsl/camel-jbang/camel-jbang-core/pom.xml
index 43642e4..b6c6946 100644
--- a/dsl/camel-jbang/camel-jbang-core/pom.xml
+++ b/dsl/camel-jbang/camel-jbang-core/pom.xml
@@ -18,16 +18,25 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jbang-parent</artifactId>
<version>3.14.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
- <modelVersion>4.0.0</modelVersion>
<artifactId>camel-jbang-core</artifactId>
+ <packaging>jar</packaging>
+
<name>Camel :: JBang :: Core</name>
+ <description>Camel JBang Core</description>
+
+ <properties>
+ <supportLevel>Experimental</supportLevel>
+ </properties>
<dependencies>
<dependency>
diff --git a/dsl/camel-jbang/camel-jbang-main/pom.xml b/dsl/camel-jbang/camel-jbang-main/pom.xml
index a7d868b..7b014fa 100644
--- a/dsl/camel-jbang/camel-jbang-main/pom.xml
+++ b/dsl/camel-jbang/camel-jbang-main/pom.xml
@@ -19,6 +19,7 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -35,6 +36,7 @@
<description>Camel JBang</description>
<properties>
+ <supportLevel>Experimental</supportLevel>
<checkstyle.skip>true</checkstyle.skip>
<dist.dir>dist</dist.dir>
</properties>