Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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<org.apache.camel.model.PropertyDefinition>", "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." }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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<org.apache.camel.model.PropertyDefinition>", "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." }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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<org.apache.camel.model.PropertyDefinition>", "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." }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ public class XQueryLanguageConfiguration
* Injects the XML Namespaces of prefix to uri mappings.
*/
private List<PropertyDefinition> 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
Expand Down Expand Up @@ -74,6 +79,14 @@ public void setNamespace(List<PropertyDefinition> namespace) {
this.namespace = namespace;
}

public String getNamespacesRef() {
return namespacesRef;
}

public void setNamespacesRef(String namespacesRef) {
this.namespacesRef = namespacesRef;
}

public String getSource() {
return source;
}
Expand Down
6 changes: 6 additions & 0 deletions components-starter/camel-stax-starter/src/main/docs/stax.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public class XMLTokenizeLanguageConfiguration
* Injects the XML Namespaces of prefix to uri mappings.
*/
private List<PropertyDefinition> 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
Expand Down Expand Up @@ -77,6 +82,14 @@ public void setNamespace(List<PropertyDefinition> namespace) {
this.namespace = namespace;
}

public String getNamespacesRef() {
return namespacesRef;
}

public void setNamespacesRef(String namespacesRef) {
this.namespacesRef = namespacesRef;
}

public String getSource() {
return source;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ public class XPathLanguageConfiguration
* Injects the XML Namespaces of prefix to uri mappings.
*/
private List<PropertyDefinition> 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
Expand Down Expand Up @@ -161,6 +166,14 @@ public void setNamespace(List<PropertyDefinition> namespace) {
this.namespace = namespace;
}

public String getNamespacesRef() {
return namespacesRef;
}

public void setNamespacesRef(String namespacesRef) {
this.namespacesRef = namespacesRef;
}

public String getSource() {
return source;
}
Expand Down
Loading