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/03/19 17:08:16 UTC

[camel] branch main updated: Regen for commit 81f676aed62ca2b72fc4d7aa2979dc56aa7288db (#7240)

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 65e0309  Regen for commit 81f676aed62ca2b72fc4d7aa2979dc56aa7288db (#7240)
65e0309 is described below

commit 65e03097eb07c601ec11340c77b887852b942c7c
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sat Mar 19 18:07:37 2022 +0100

    Regen for commit 81f676aed62ca2b72fc4d7aa2979dc56aa7288db (#7240)
    
    Signed-off-by: GitHub <no...@github.com>
    
    Co-authored-by: davsclaus <da...@users.noreply.github.com>
---
 .../apache/camel/catalog/schemas/camel-spring.xsd   |  2 +-
 .../modules/ROOT/pages/camel-maven-plugin.adoc      | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index f193c1c..d249fcd 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -712,7 +712,7 @@ Evaluates a JSONPath expression against a JSON message body.
   <xs:element name="kamelet" type="tns:kameletDefinition">
     <xs:annotation>
       <xs:documentation xml:lang="en"><![CDATA[
-To call Kamelets
+To call Kamelets in special situations
       ]]></xs:documentation>
     </xs:annotation>
   </xs:element>
diff --git a/docs/user-manual/modules/ROOT/pages/camel-maven-plugin.adoc b/docs/user-manual/modules/ROOT/pages/camel-maven-plugin.adoc
index 3dba4ec..969bca2 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-maven-plugin.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-maven-plugin.adoc
@@ -3,6 +3,7 @@
 The Camel Maven Plugin supports the following goals
 
  - camel:run - To run your Camel application
+ - camel:dev - To run your Camel application in developer mode
  - camel:prepare-fatjar - To prepare your Camel application for being packaged as a fat-jar (such as by maven-assembly-plugin)
 
 == camel:run
@@ -93,6 +94,26 @@ The idea with the built-in logging is that you sometimes want to avoid messing w
 up logging, and just want a quick and easy log to console that looks good.
 
 
+== camel:dev
+
+The `camel:dev` is an extension to `camel:run` to run the Camel application in developer mode.
+In this mode, among others, Camel will use hot-reloading of DSL routes (xml, yaml and java) that are located from
+the `src/main/resources` directory.
+
+=== Options
+
+The maven plugin *dev* goal supports the following options which can be configured from the command line (use `-D` syntax), or defined in the `pom.xml` file in the `<configuration>` tag.
+
+|===
+| Parameter | Default Value | Description
+| routesDirectory | src/main/resources | To watch the directory for file changes which triggers a live reload of the Camel routes on-the-fly.
+| duration | -1 | Sets the time duration (seconds) that the application will run for before terminating. A value <= 0 will run forever.
+| durationIdle | -1 | Sets the idle time duration (seconds) duration that the application can be idle before terminating. A value <= 0 will run forever.
+| durationMaxMessages | -1 | Sets the duration of maximum number of messages that the application will process before terminating.
+| logClasspath | false | Whether to log the classpath when starting
+| loggingLevel | OFF | Whether to use built-in console logging (uses log4j), which does not require to add any logging dependency to your project. However, the logging is fixed to log to the console, with a color style that is similar to Spring Boot. You can change the root logging level to: FATAL, ERROR, WARN, INFO, DEBUG, TRACE, OFF
+|===
+
 == camel:prepare-fatjar
 
 The `camel:prepare-fatjar` goal of the Camel Maven Plugin is used to prepare your Camel application