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 58699b6 Regen for commit f26e66b4289beb50c177aa180d8bd461a81f0d4b (#6506) 58699b6 is described below commit 58699b6fb782b146dff3f3c3a784186987a746de Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Mon Dec 6 19:40:53 2021 +0100 Regen for commit f26e66b4289beb50c177aa180d8bd461a81f0d4b (#6506) Signed-off-by: GitHub <nore...@github.com> Co-authored-by: davsclaus <davscl...@users.noreply.github.com> --- .../camel/catalog/models/removeProperty.json | 3 ++- .../apache/camel/catalog/schemas/camel-spring.xsd | 9 ++++++++- .../modules/ROOT/pages/camel-maven-plugin.adoc | 22 ++++++++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/removeProperty.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/removeProperty.json index f4765c2..3dcd057 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/removeProperty.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/removeProperty.json @@ -11,7 +11,8 @@ "output": false }, "properties": { - "propertyName": { "kind": "attribute", "displayName": "Property Name", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of property to remove" }, + "propertyName": { "kind": "attribute", "displayName": "Property Name", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": true, "autowired": false, "secret": false, "description": "Name of property to remove." }, + "name": { "kind": "attribute", "displayName": "Name", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of property to remove." }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" }, "description": { "kind": "element", "displayName": "Description", "required": false, "type": "object", "javaType": "org.apache.camel.model.DescriptionDefinition", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the description of this node" } } 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 e00d99c..b706e86 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 @@ -10294,7 +10294,14 @@ in-sensitive). <xs:complexContent> <xs:extension base="tns:noOutputDefinition"> <xs:sequence/> - <xs:attribute name="propertyName" type="xs:string" use="required"> + <xs:attribute name="propertyName" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +Deprecated: Name of property to remove. + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="name" type="xs:string"> <xs:annotation> <xs:documentation xml:lang="en"><![CDATA[ Name of property to remove. 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 d7e134d..4392c8f 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-maven-plugin.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-maven-plugin.adoc @@ -33,6 +33,7 @@ The maven plugin *run* goal supports the following options which can be configur | 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 +| logLevel | 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 |=== @@ -70,6 +71,27 @@ You can enable this in the configuration using: </plugin> ---- +=== Using built-in logging + +If you want quickly to have logging to console, you can use the built-in logging by setting the logging level as shown: + +[source,xml] +---- +<plugin> + <groupId>org.apache.camel</groupId> + <artifactId>camel-maven-plugin</artifactId> + <configuration> + <logLevel>INFO</logLevel> + </configuration> +</plugin> +---- + +This runs the application with console logging, in color that is similar to Spring Boot logging. +This is default turned off, to use the configured logging system in the project. + +The idea with the built-in logging is that you sometimes want to avoid messing with setting +up logging, and just want a quick and easy log to console that looks good. + === Using live reload of XML files You can configure the plugin to scan for XML file changes and trigger a reload of the Camel routes which are contained in those XML files.