diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/tika.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/tika.json index 62eea9b52e8..5d0de52d4dd 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/tika.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/tika.json @@ -32,7 +32,7 @@ "tikaParseOutputEncoding": { "index": 1, "kind": "parameter", "displayName": "Tika Parse Output Encoding", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.tika.TikaConfiguration", "configurationField": "tikaConfiguration", "description": "Tika Parse Output Encoding" }, "tikaParseOutputFormat": { "index": 2, "kind": "parameter", "displayName": "Tika Parse Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "org.apache.camel.component.tika.TikaParseOutputFormat", "enum": [ "xml", "html", "text" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "xml", "configurationClass": "org.apache.camel.component.tika.TikaConfiguration", "configurationField": "tikaConfiguration", "description": "Tika Output Format. Supported output formats. xml: Returns Parsed Content as XML. html: Returns Parsed Content as HTML. text: Returns Parsed Content as Text. textMain: Uses the boilerpipe library to automatically extract the main content from a web page." }, "lazyStartProducer": { "index": 3, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." }, - "tikaConfig": { "index": 4, "kind": "parameter", "displayName": "Tika Config", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.tika.config.TikaConfig", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.tika.TikaConfiguration", "configurationField": "tikaConfiguration", "description": "Tika Config" }, - "tikaConfigUri": { "index": 5, "kind": "parameter", "displayName": "Tika Config Uri", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.tika.TikaConfiguration", "configurationField": "tikaConfiguration", "description": "Tika Config Url" } + "tikaConfigFile": { "index": 4, "kind": "parameter", "displayName": "Tika Config File", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.tika.TikaConfiguration", "configurationField": "tikaConfiguration", "description": "Path to a Tika JSON configuration file" }, + "tikaLoader": { "index": 5, "kind": "parameter", "displayName": "Tika Loader", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.tika.config.loader.TikaLoader", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.tika.TikaConfiguration", "configurationField": "tikaConfiguration", "description": "Tika loader used to configure parsers and detectors" } } } diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json index 9f3e9fb486c..fec581efddc 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json @@ -27,8 +27,9 @@ "threadSafety": { "index": 8, "kind": "attribute", "displayName": "Thread Safety", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to enable thread-safety for the returned result of the xpath expression. This applies to when using NODESET as the result type, and the returned set has multiple elements." }, "preCompile": { "index": 9, "kind": "attribute", "displayName": "Pre Compile", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to enable pre-compiling the xpath expression during initialization phase. pre-compile is enabled by default." }, "namespace": { "index": 10, "kind": "element", "displayName": "Namespace", "group": "common", "label": "common", "required": false, "type": "array", "javaType": "java.util.List", "deprecated": false, "autowired": false, "secret": false, "description": "Injects the XML Namespaces of prefix to uri mappings." }, - "source": { "index": 11, "kind": "attribute", "displayName": "Source", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body." }, - "resultType": { "index": 12, "kind": "attribute", "displayName": "Result Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The class of the result type (type from output)." }, - "trim": { "index": 13, "kind": "attribute", "displayName": "Trim", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the source code to remove leading and trailing whitespaces and line breaks." } + "namespacesRef": { "index": 11, "kind": "attribute", "displayName": "Namespaces Ref", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings." }, + "source": { "index": 12, "kind": "attribute", "displayName": "Source", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body." }, + "resultType": { "index": 13, "kind": "attribute", "displayName": "Result Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The class of the result type (type from output)." }, + "trim": { "index": 14, "kind": "attribute", "displayName": "Trim", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the source code to remove leading and trailing whitespaces and line breaks." } } } diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json index 3b58cdae2a8..b398bafcb42 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json @@ -20,8 +20,9 @@ "expression": { "index": 1, "kind": "value", "displayName": "Expression", "group": "common", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The expression value in your chosen language syntax." }, "configurationRef": { "index": 2, "kind": "attribute", "displayName": "Configuration Ref", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon)." }, "namespace": { "index": 3, "kind": "element", "displayName": "Namespace", "group": "common", "label": "common", "required": false, "type": "array", "javaType": "java.util.List", "deprecated": false, "autowired": false, "secret": false, "description": "Injects the XML Namespaces of prefix to uri mappings." }, - "source": { "index": 4, "kind": "attribute", "displayName": "Source", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body." }, - "resultType": { "index": 5, "kind": "attribute", "displayName": "Result Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The class of the result type (type from output)." }, - "trim": { "index": 6, "kind": "attribute", "displayName": "Trim", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the source code to remove leading and trailing whitespaces and line breaks." } + "namespacesRef": { "index": 4, "kind": "attribute", "displayName": "Namespaces Ref", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings." }, + "source": { "index": 5, "kind": "attribute", "displayName": "Source", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body." }, + "resultType": { "index": 6, "kind": "attribute", "displayName": "Result Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The class of the result type (type from output)." }, + "trim": { "index": 7, "kind": "attribute", "displayName": "Trim", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the source code to remove leading and trailing whitespaces and line breaks." } } } diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json index ddf44582de1..18e6641800f 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json @@ -21,8 +21,9 @@ "mode": { "index": 2, "kind": "attribute", "displayName": "Mode", "group": "common", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "i", "w", "u", "t" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "i", "description": "The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the extracted token (default), w - wrapping the extracted token in its ancestor context, u - unwrapping the extracted token to its child content, t - extracting the text content of the specified element." }, "group": { "index": 3, "kind": "attribute", "displayName": "Group", "group": "common", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "To group N parts together." }, "namespace": { "index": 4, "kind": "element", "displayName": "Namespace", "group": "common", "label": "common", "required": false, "type": "array", "javaType": "java.util.List", "deprecated": false, "autowired": false, "secret": false, "description": "Injects the XML Namespaces of prefix to uri mappings." }, - "source": { "index": 5, "kind": "attribute", "displayName": "Source", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body." }, - "resultType": { "index": 6, "kind": "attribute", "displayName": "Result Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The class of the result type (type from output)." }, - "trim": { "index": 7, "kind": "attribute", "displayName": "Trim", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the source code to remove leading and trailing whitespaces and line breaks." } + "namespacesRef": { "index": 5, "kind": "attribute", "displayName": "Namespaces Ref", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings." }, + "source": { "index": 6, "kind": "attribute", "displayName": "Source", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body." }, + "resultType": { "index": 7, "kind": "attribute", "displayName": "Result Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The class of the result type (type from output)." }, + "trim": { "index": 8, "kind": "attribute", "displayName": "Trim", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the source code to remove leading and trailing whitespaces and line breaks." } } } diff --git a/components-starter/camel-saxon-starter/src/main/docs/saxon.json b/components-starter/camel-saxon-starter/src/main/docs/saxon.json index ff002b163bd..d3a087b3780 100644 --- a/components-starter/camel-saxon-starter/src/main/docs/saxon.json +++ b/components-starter/camel-saxon-starter/src/main/docs/saxon.json @@ -97,6 +97,12 @@ "description": "Injects the XML Namespaces of prefix to uri mappings.", "sourceType": "org.apache.camel.language.xquery.springboot.XQueryLanguageConfiguration" }, + { + "name": "camel.language.xquery.namespaces-ref", + "type": "java.lang.String", + "description": "Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings.", + "sourceType": "org.apache.camel.language.xquery.springboot.XQueryLanguageConfiguration" + }, { "name": "camel.language.xquery.source", "type": "java.lang.String", diff --git a/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java b/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java index 73040737a25..a968e0be32d 100644 --- a/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java +++ b/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java @@ -45,6 +45,11 @@ public class XQueryLanguageConfiguration * Injects the XML Namespaces of prefix to uri mappings. */ private List namespace; + /** + * Reference to a org.apache.camel.support.builder.Namespaces bean in the + * registry to use for the XML Namespaces of prefix to uri mappings. + */ + private String namespacesRef; /** * Source to use, instead of message body. You can prefix with variable:, * header:, or property: to specify kind of source. Otherwise, the source is @@ -74,6 +79,14 @@ public void setNamespace(List namespace) { this.namespace = namespace; } + public String getNamespacesRef() { + return namespacesRef; + } + + public void setNamespacesRef(String namespacesRef) { + this.namespacesRef = namespacesRef; + } + public String getSource() { return source; } diff --git a/components-starter/camel-stax-starter/src/main/docs/stax.json b/components-starter/camel-stax-starter/src/main/docs/stax.json index b232b1fdb03..a984cc62db3 100644 --- a/components-starter/camel-stax-starter/src/main/docs/stax.json +++ b/components-starter/camel-stax-starter/src/main/docs/stax.json @@ -73,6 +73,12 @@ "description": "Injects the XML Namespaces of prefix to uri mappings.", "sourceType": "org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration" }, + { + "name": "camel.language.xtokenize.namespaces-ref", + "type": "java.lang.String", + "description": "Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings.", + "sourceType": "org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration" + }, { "name": "camel.language.xtokenize.source", "type": "java.lang.String", diff --git a/components-starter/camel-stax-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java b/components-starter/camel-stax-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java index 03d76ed7eae..12e1140762d 100644 --- a/components-starter/camel-stax-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java +++ b/components-starter/camel-stax-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java @@ -48,6 +48,11 @@ public class XMLTokenizeLanguageConfiguration * Injects the XML Namespaces of prefix to uri mappings. */ private List namespace; + /** + * Reference to a org.apache.camel.support.builder.Namespaces bean in the + * registry to use for the XML Namespaces of prefix to uri mappings. + */ + private String namespacesRef; /** * Source to use, instead of message body. You can prefix with variable:, * header:, or property: to specify kind of source. Otherwise, the source is @@ -77,6 +82,14 @@ public void setNamespace(List namespace) { this.namespace = namespace; } + public String getNamespacesRef() { + return namespacesRef; + } + + public void setNamespacesRef(String namespacesRef) { + this.namespacesRef = namespacesRef; + } + public String getSource() { return source; } diff --git a/components-starter/camel-xpath-starter/src/main/docs/xpath.json b/components-starter/camel-xpath-starter/src/main/docs/xpath.json index 0fd01c94ad1..9383dbee038 100644 --- a/components-starter/camel-xpath-starter/src/main/docs/xpath.json +++ b/components-starter/camel-xpath-starter/src/main/docs/xpath.json @@ -49,6 +49,12 @@ "description": "Injects the XML Namespaces of prefix to uri mappings.", "sourceType": "org.apache.camel.language.xpath.springboot.XPathLanguageConfiguration" }, + { + "name": "camel.language.xpath.namespaces-ref", + "type": "java.lang.String", + "description": "Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings.", + "sourceType": "org.apache.camel.language.xpath.springboot.XPathLanguageConfiguration" + }, { "name": "camel.language.xpath.object-model", "type": "java.lang.String", diff --git a/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java b/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java index 350897119ea..32a945e1e1a 100644 --- a/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java +++ b/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java @@ -76,6 +76,11 @@ public class XPathLanguageConfiguration * Injects the XML Namespaces of prefix to uri mappings. */ private List namespace; + /** + * Reference to a org.apache.camel.support.builder.Namespaces bean in the + * registry to use for the XML Namespaces of prefix to uri mappings. + */ + private String namespacesRef; /** * Source to use, instead of message body. You can prefix with variable:, * header:, or property: to specify kind of source. Otherwise, the source is @@ -161,6 +166,14 @@ public void setNamespace(List namespace) { this.namespace = namespace; } + public String getNamespacesRef() { + return namespacesRef; + } + + public void setNamespacesRef(String namespacesRef) { + this.namespacesRef = namespacesRef; + } + public String getSource() { return source; } diff --git a/docs/spring-boot/modules/ROOT/pages/starters/saxon.adoc b/docs/spring-boot/modules/ROOT/pages/starters/saxon.adoc index b98ec46b884..b23caea84a6 100644 --- a/docs/spring-boot/modules/ROOT/pages/starters/saxon.adoc +++ b/docs/spring-boot/modules/ROOT/pages/starters/saxon.adoc @@ -24,7 +24,7 @@ Please refer to the above links for usage and configuration details. == Spring Boot Auto-Configuration -The starter supports 12 options, which are listed below. +The starter supports 13 options, which are listed below. [width="100%",cols="2,5,^1,2",options="header"] |=== @@ -39,6 +39,7 @@ The starter supports 12 options, which are listed below. | camel.language.xquery.configuration-ref | Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon). | | String | camel.language.xquery.enabled | Whether to enable auto configuration of the xquery language. This is enabled by default. | | Boolean | camel.language.xquery.namespace | Injects the XML Namespaces of prefix to uri mappings. | | PropertyDefinition> +| camel.language.xquery.namespaces-ref | Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings. | | String | camel.language.xquery.source | Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body. | | String | camel.language.xquery.trim | Whether to trim the source code to remove leading and trailing whitespaces and line breaks. | true | Boolean |=== diff --git a/docs/spring-boot/modules/ROOT/pages/starters/stax.adoc b/docs/spring-boot/modules/ROOT/pages/starters/stax.adoc index b37d483b9af..cc8b1cfdbbb 100644 --- a/docs/spring-boot/modules/ROOT/pages/starters/stax.adoc +++ b/docs/spring-boot/modules/ROOT/pages/starters/stax.adoc @@ -24,7 +24,7 @@ Please refer to the above links for usage and configuration details. == Spring Boot Auto-Configuration -The starter supports 8 options, which are listed below. +The starter supports 9 options, which are listed below. [width="100%",cols="2,5,^1,2",options="header"] |=== @@ -35,6 +35,7 @@ The starter supports 8 options, which are listed below. | camel.language.xtokenize.enabled | Whether to enable auto configuration of the xtokenize language. This is enabled by default. | | Boolean | camel.language.xtokenize.mode | The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the extracted token (default), w - wrapping the extracted token in its ancestor context, u - unwrapping the extracted token to its child content, t - extracting the text content of the specified element. | i | String | camel.language.xtokenize.namespace | Injects the XML Namespaces of prefix to uri mappings. | | PropertyDefinition> +| camel.language.xtokenize.namespaces-ref | Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings. | | String | camel.language.xtokenize.source | Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body. | | String | camel.language.xtokenize.trim | Whether to trim the source code to remove leading and trailing whitespaces and line breaks. | true | Boolean |=== diff --git a/docs/spring-boot/modules/ROOT/pages/starters/xpath.adoc b/docs/spring-boot/modules/ROOT/pages/starters/xpath.adoc index 2cd0572a9aa..323324e6f40 100644 --- a/docs/spring-boot/modules/ROOT/pages/starters/xpath.adoc +++ b/docs/spring-boot/modules/ROOT/pages/starters/xpath.adoc @@ -23,7 +23,7 @@ Please refer to the above links for usage and configuration details. == Spring Boot Auto-Configuration -The starter supports 12 options, which are listed below. +The starter supports 13 options, which are listed below. [width="100%",cols="2,5,^1,2",options="header"] |=== @@ -33,6 +33,7 @@ The starter supports 12 options, which are listed below. | camel.language.xpath.factory-ref | References to a custom XPathFactory to lookup in the registry. | | String | camel.language.xpath.log-namespaces | Whether to log namespaces which can assist during troubleshooting. | false | Boolean | camel.language.xpath.namespace | Injects the XML Namespaces of prefix to uri mappings. | | PropertyDefinition> +| camel.language.xpath.namespaces-ref | Reference to a org.apache.camel.support.builder.Namespaces bean in the registry to use for the XML Namespaces of prefix to uri mappings. | | String | camel.language.xpath.object-model | The XPath object model to use. | | String | camel.language.xpath.pre-compile | Whether to enable pre-compiling the xpath expression during initialization phase. pre-compile is enabled by default. | true | Boolean | camel.language.xpath.result-q-name | Sets the output type supported by XPath. | NODESET | String