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 934525f13829 CAMEL-23832: camel-arangodb - improve the component and
option descriptions (#30963)
934525f13829 is described below
commit 934525f138291dd4391d62bbb011588363bfe0b8
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 27 14:54:55 2026 +0100
CAMEL-23832: camel-arangodb - improve the component and option descriptions
(#30963)
This commit rewrites the component description, the texts of 12 endpoint
options, 3 component options and 8 headers
of arangodb, checked against the Camel code and the ArangoDB Java driver
7.28.0. The old texts of vertexCollection
and edgeCollection were swapped, and the texts of host, port, user and
password said that the options are optional,
while the driver fails to start without a host and logs in as root without
user and password.
Documentation only, no behavior change. The component JSON, the catalog
copy, the doc page header and the DSL are
regenerated. camel-arangodb is marked as done in
tasks/component-descriptions.md.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.../apache/camel/catalog/components/arangodb.json | 66 +++++-----
.../camel/catalog/docs/arangodb-component.adoc | 2 +-
.../apache/camel/component/arangodb/arangodb.json | 66 +++++-----
.../src/main/docs/arangodb-component.adoc | 2 +-
.../component/arangodb/ArangoDbComponent.java | 22 ++--
.../component/arangodb/ArangoDbConfiguration.java | 90 +++++---------
.../component/arangodb/ArangoDbConstants.java | 31 +++--
.../camel/component/arangodb/ArangoDbEndpoint.java | 21 ++--
.../component/ComponentsBuilderFactory.java | 4 +-
.../dsl/ArangodbComponentBuilderFactory.java | 73 ++++++-----
.../builder/endpoint/EndpointHeaderBuilders.java | 4 +-
.../builder/endpoint/StaticEndpointBuilders.java | 14 ++-
.../dsl/ArangoDbEndpointBuilderFactory.java | 137 +++++++++++++--------
tasks/component-descriptions.md | 2 +-
14 files changed, 279 insertions(+), 255 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/arangodb.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/arangodb.json
index 5197a4dd3baf..ed6e5f6de6f7 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/arangodb.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/arangodb.json
@@ -3,7 +3,7 @@
"kind": "component",
"name": "arangodb",
"title": "ArangoDb",
- "description": "Perform operations on ArangoDb when used as a Document
Database, or as a Graph Database",
+ "description": "Store, find, update and delete documents, vertices and
edges in an ArangoDB database, and run AQL queries.",
"deprecated": false,
"firstVersion": "3.5.0",
"label": "database",
@@ -24,48 +24,48 @@
"remote": true
},
"componentProperties": {
- "configuration": { "index": 0, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.arangodb.ArangoDbConfiguration", "deprecated":
false, "autowired": false, "secret": false, "description": "Component
configuration" },
- "documentCollection": { "index": 1, "kind": "property", "displayName":
"Document Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name, when
using ArangoDb as a Document Database. Set the documentCollection [...]
- "edgeCollection": { "index": 2, "kind": "property", "displayName": "Edge
Collection", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name of
vertices, when using ArangoDb as a Graph Database. Set the edgeCollection na
[...]
- "graph": { "index": 3, "kind": "property", "displayName": "Graph",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Graph name, when using
ArangoDb as a Graph Database. Combine this attribute with one of the two
attributes vertexC [...]
- "host": { "index": 4, "kind": "property", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB host. If host
and port are default, this field is Optional." },
+ "configuration": { "index": 0, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.arangodb.ArangoDbConfiguration", "deprecated":
false, "autowired": false, "secret": false, "description": "The shared
configuration of the endpoints. Each endpoint starts from a copy of it, and the
options of the endpoint URI replace its values." },
+ "documentCollection": { "index": 1, "kind": "property", "displayName":
"Document Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the document
collection for the operations SAVE_DOCUMENT, FIND_DOCUMENT_BY_ [...]
+ "edgeCollection": { "index": 2, "kind": "property", "displayName": "Edge
Collection", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the edge
collection of the graph for the operations SAVE_EDGE, FIND_EDGE_BY_KEY, UP [...]
+ "graph": { "index": 3, "kind": "property", "displayName": "Graph",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the named
graph for the vertex and edge operations, such as SAVE_VERTEX and SAVE_EDGE.
Use it with ver [...]
+ "host": { "index": 4, "kind": "property", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The host name or IP
address of the ArangoDB server. Must be set together with port, unless the
arangoDB option sets [...]
"lazyStartProducer": { "index": 5, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "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 [...]
- "operation": { "index": 6, "kind": "property", "displayName": "Operation",
"group": "producer", "label": "producer", "required": false, "type": "enum",
"javaType": "org.apache.camel.component.arangodb.ArangoDbOperation", "enum": [
"SAVE_DOCUMENT", "FIND_DOCUMENT_BY_KEY", "UPDATE_DOCUMENT", "DELETE_DOCUMENT",
"AQL_QUERY", "SAVE_VERTEX", "FIND_VERTEX_BY_KEY", "UPDATE_VERTEX",
"DELETE_VERTEX", "SAVE_EDGE", "FIND_EDGE_BY_KEY", "UPDATE_EDGE", "DELETE_EDGE"
], "deprecated": false, "autowir [...]
- "port": { "index": 7, "kind": "property", "displayName": "Port", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB exposed port.
If host and port are default, this field is Optional." },
- "vertexCollection": { "index": 8, "kind": "property", "displayName":
"Vertex Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name of
vertices, when using ArangoDb as a Graph Database. Set the vertexCollect [...]
- "arangoDB": { "index": 9, "kind": "property", "displayName": "Arango DB",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "com.arangodb.ArangoDB", "deprecated": false, "autowired": true,
"secret": false, "description": "To use an existing ArangDB client." },
+ "operation": { "index": 6, "kind": "property", "displayName": "Operation",
"group": "producer", "label": "producer", "required": false, "type": "enum",
"javaType": "org.apache.camel.component.arangodb.ArangoDbOperation", "enum": [
"SAVE_DOCUMENT", "FIND_DOCUMENT_BY_KEY", "UPDATE_DOCUMENT", "DELETE_DOCUMENT",
"AQL_QUERY", "SAVE_VERTEX", "FIND_VERTEX_BY_KEY", "UPDATE_VERTEX",
"DELETE_VERTEX", "SAVE_EDGE", "FIND_EDGE_BY_KEY", "UPDATE_EDGE", "DELETE_EDGE"
], "deprecated": false, "autowir [...]
+ "port": { "index": 7, "kind": "property", "displayName": "Port", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The port of the ArangoDB
server, for example 8529, the default port of ArangoDB. Must be set together
with host, unless the aran [...]
+ "vertexCollection": { "index": 8, "kind": "property", "displayName":
"Vertex Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the vertex
collection of the graph for the operations SAVE_VERTEX, FIND_VERTEX_ [...]
+ "arangoDB": { "index": 9, "kind": "property", "displayName": "Arango DB",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "com.arangodb.ArangoDB", "deprecated": false, "autowired": true,
"secret": false, "description": "To use a custom com.arangodb.ArangoDB client
for all the endpoints of the component. When it is set or autowired, the host,
port, user, password and vertx options are not used. Each endpoint shuts the
client down when it shut [...]
"autowiredEnabled": { "index": 10, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
- "vertx": { "index": 11, "kind": "property", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": true,
"secret": false, "description": "To use an existing Vertx in the ArangoDB
client." },
- "password": { "index": 12, "kind": "property", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB password. If
user and password are default, this field is Optional." },
- "user": { "index": 13, "kind": "property", "displayName": "User", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB user. If user
and password are default, this field is Optional." }
+ "vertx": { "index": 11, "kind": "property", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": true,
"secret": false, "description": "To use a custom io.vertx.core.Vertx instance
for the HTTP connections of the ArangoDB clients that the endpoints create. If
not set, the ArangoDB driver creates its own Vert.x instance. Not used when the
arangoDB option sets a client." },
+ "password": { "index": 12, "kind": "property", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The password of the user
that the ArangoDB client logs in with. Only used when user is [...]
+ "user": { "index": 13, "kind": "property", "displayName": "User", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the user
that the ArangoDB client logs in with. Only used when password is set as [...]
},
"headers": {
- "CamelArangoDbMultiUpdate": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Indicates if there are multiple
documents to update. If set to true, the body of the message must be a
Collection of documents to update.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#MULTI_UPDATE" },
- "CamelArangoDbMultiInsert": { "index": 1, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Indicates if there are multiple
documents to insert. If set to true, the body of the message must be a
Collection of documents to insert.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#MULTI_INSERT" },
- "CamelArangoDbMultiDelete": { "index": 2, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Indicates if there are multiple
documents to delete. If set to true, the body of the message must be a
Collection of key of documents to delete.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#MULTI_DE [...]
- "CamelArangoDbKey": { "index": 3, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Arango key to use for the operation.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#ARANGO_KEY" },
- "CamelArangoDbResultClassType": { "index": 4, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.lang.Class", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "BaseDocument.class or
BaseEdgeDocument.class", "description": "The type of the result of the
operation.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#RESULT_CLASS_TYPE" },
- "CamelArangoDbAqlQuery": { "index": 5, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The AQL query to execute.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY" },
- "CamelArangoDbAqlParameters": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.util.Map", "deprecated": false, "autowired": false, "secret":
false, "description": "The key\/value pairs defining the variables to bind the
query to.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY_BIND_PARAMETERS"
},
- "CamelArangoDbAqlOptions": { "index": 7, "kind": "header", "displayName":
"", "group": "advanced", "label": "advanced", "required": false, "javaType":
"com.arangodb.model.AqlQueryOptions", "deprecated": false, "autowired": false,
"secret": false, "description": "The additional options that will be passed to
the query API.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY_OPTIONS" }
+ "CamelArangoDbMultiUpdate": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether UPDATE_DOCUMENT updates several
documents. If true, the body must be a Collection of documents that each have
their _key, and the CamelArangoDbKey header is not used.", "constantName":
"org.apache.camel.component.arang [...]
+ "CamelArangoDbMultiInsert": { "index": 1, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether SAVE_DOCUMENT saves several
documents. If true, the body must be a Collection of documents. A Collection
body is saved as several documents even when this header is not set.",
"constantName": "org.apache.camel.componen [...]
+ "CamelArangoDbMultiDelete": { "index": 2, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether DELETE_DOCUMENT deletes several
documents. If true, the body must be a Collection of the keys of the documents.
If false, the body is the key of one document.", "constantName":
"org.apache.camel.component.arangodb.Aran [...]
+ "CamelArangoDbKey": { "index": 3, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The key, as a String, of the document, vertex or edge that
UPDATE_DOCUMENT, UPDATE_VERTEX and UPDATE_EDGE update. The find and delete
operations take the key from the body instead.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#ARAN [...]
+ "CamelArangoDbResultClassType": { "index": 4, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.lang.Class", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "BaseDocument.class or
BaseEdgeDocument.class", "description": "The java.lang.Class that
FIND_DOCUMENT_BY_KEY, FIND_VERTEX_BY_KEY, FIND_EDGE_BY_KEY and AQL_QUERY
convert each result to. A class name as text is not accepted. If not set,
BaseEdgeDoc [...]
+ "CamelArangoDbAqlQuery": { "index": 5, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The AQL query that AQL_QUERY runs. If not set, the body is the
query.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY" },
+ "CamelArangoDbAqlParameters": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.util.Map", "deprecated": false, "autowired": false, "secret":
false, "description": "The bind parameters of the AQL query of AQL_QUERY, as a
Map from the name of each bind parameter to its value, for example foo for foo
in the query.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY_BIND_PARAMETERS"
},
+ "CamelArangoDbAqlOptions": { "index": 7, "kind": "header", "displayName":
"", "group": "advanced", "label": "advanced", "required": false, "javaType":
"com.arangodb.model.AqlQueryOptions", "deprecated": false, "autowired": false,
"secret": false, "description": "The com.arangodb.model.AqlQueryOptions of the
AQL query of AQL_QUERY, such as its batch size. If not set, the query runs with
the default options.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_Q [...]
},
"bodyTypes": {
"producerIn": { "carriers": [ "map", "pojo", "list" ], "byOption": [ {
"option": "operation", "value": "FIND_DOCUMENT_BY_KEY", "carriers": [ "text" ]
}, { "option": "operation", "value": "DELETE_DOCUMENT", "carriers": [ "text",
"list" ] }, { "option": "operation", "value": "AQL_QUERY", "carriers": [ "text"
] }, { "option": "operation", "value": "SAVE_VERTEX", "carriers": [ "map",
"pojo" ] }, { "option": "operation", "value": "UPDATE_VERTEX", "carriers": [
"map", "pojo" ] }, { "option [...]
"producerOut": { "carriers": [ "unknown" ], "byOption": [ { "option":
"operation", "value": "SAVE_DOCUMENT", "carriers": [ "pojo" ] }, { "option":
"operation", "value": "FIND_DOCUMENT_BY_KEY", "carriers": [ "pojo", "null" ] },
{ "option": "operation", "value": "UPDATE_DOCUMENT", "carriers": [ "pojo" ] },
{ "option": "operation", "value": "DELETE_DOCUMENT", "carriers": [ "pojo" ] },
{ "option": "operation", "value": "AQL_QUERY", "carriers": [ "list" ] }, {
"option": "operation", "valu [...]
},
"properties": {
- "database": { "index": 0, "kind": "path", "displayName": "Database",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "database name" },
- "documentCollection": { "index": 1, "kind": "parameter", "displayName":
"Document Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name, when
using ArangoDb as a Document Database. Set the documentCollectio [...]
- "edgeCollection": { "index": 2, "kind": "parameter", "displayName": "Edge
Collection", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name of
vertices, when using ArangoDb as a Graph Database. Set the edgeCollection n
[...]
- "graph": { "index": 3, "kind": "parameter", "displayName": "Graph",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Graph name, when using
ArangoDb as a Graph Database. Combine this attribute with one of the two
attributes vertex [...]
- "host": { "index": 4, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB host. If host
and port are default, this field is Optional." },
- "operation": { "index": 5, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "producer", "required": false,
"type": "enum", "javaType":
"org.apache.camel.component.arangodb.ArangoDbOperation", "enum": [
"SAVE_DOCUMENT", "FIND_DOCUMENT_BY_KEY", "UPDATE_DOCUMENT", "DELETE_DOCUMENT",
"AQL_QUERY", "SAVE_VERTEX", "FIND_VERTEX_BY_KEY", "UPDATE_VERTEX",
"DELETE_VERTEX", "SAVE_EDGE", "FIND_EDGE_BY_KEY", "UPDATE_EDGE", "DELETE_EDGE"
], "deprecated": false, "autowi [...]
- "port": { "index": 6, "kind": "parameter", "displayName": "Port", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB exposed port.
If host and port are default, this field is Optional." },
- "vertexCollection": { "index": 7, "kind": "parameter", "displayName":
"Vertex Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name of
vertices, when using ArangoDb as a Graph Database. Set the vertexCollec [...]
+ "database": { "index": 0, "kind": "path", "displayName": "Database",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The name of the ArangoDB database that the
producer works on. The producer does not create the database." },
+ "documentCollection": { "index": 1, "kind": "parameter", "displayName":
"Document Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the document
collection for the operations SAVE_DOCUMENT, FIND_DOCUMENT_BY [...]
+ "edgeCollection": { "index": 2, "kind": "parameter", "displayName": "Edge
Collection", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the edge
collection of the graph for the operations SAVE_EDGE, FIND_EDGE_BY_KEY, U [...]
+ "graph": { "index": 3, "kind": "parameter", "displayName": "Graph",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the named
graph for the vertex and edge operations, such as SAVE_VERTEX and SAVE_EDGE.
Use it with ve [...]
+ "host": { "index": 4, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The host name or IP
address of the ArangoDB server. Must be set together with port, unless the
arangoDB option sets [...]
+ "operation": { "index": 5, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "producer", "required": false,
"type": "enum", "javaType":
"org.apache.camel.component.arangodb.ArangoDbOperation", "enum": [
"SAVE_DOCUMENT", "FIND_DOCUMENT_BY_KEY", "UPDATE_DOCUMENT", "DELETE_DOCUMENT",
"AQL_QUERY", "SAVE_VERTEX", "FIND_VERTEX_BY_KEY", "UPDATE_VERTEX",
"DELETE_VERTEX", "SAVE_EDGE", "FIND_EDGE_BY_KEY", "UPDATE_EDGE", "DELETE_EDGE"
], "deprecated": false, "autowi [...]
+ "port": { "index": 6, "kind": "parameter", "displayName": "Port", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The port of the ArangoDB
server, for example 8529, the default port of ArangoDB. Must be set together
with host, unless the ara [...]
+ "vertexCollection": { "index": 7, "kind": "parameter", "displayName":
"Vertex Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the vertex
collection of the graph for the operations SAVE_VERTEX, FIND_VERTEX [...]
"lazyStartProducer": { "index": 8, "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 produc [...]
- "arangoDB": { "index": 9, "kind": "parameter", "displayName": "Arango DB",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "com.arangodb.ArangoDB", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing ArangDB client." },
- "vertx": { "index": 10, "kind": "parameter", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing Vertx instance in the
ArangoDB client." },
- "password": { "index": 11, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB password. If
user and password are default, this field is Optional." },
- "user": { "index": 12, "kind": "parameter", "displayName": "User",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB user. If user
and password are default, this field is Optional." }
+ "arangoDB": { "index": 9, "kind": "parameter", "displayName": "Arango DB",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "com.arangodb.ArangoDB", "deprecated": false, "autowired": false,
"secret": false, "description": "To use a custom com.arangodb.ArangoDB client.
When it is set, or set on the component, the host, port, user, password and
vertx options are not used. The endpoint shuts the client down when it shuts
down." },
+ "vertx": { "index": 10, "kind": "parameter", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use a custom io.vertx.core.Vertx instance
for the HTTP connections of the ArangoDB client that the endpoint creates. If
not set, the ArangoDB driver creates its own Vert.x instance. Not used when the
arangoDB option sets a client." },
+ "password": { "index": 11, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The password of the user
that the ArangoDB client logs in with. Only used when user i [...]
+ "user": { "index": 12, "kind": "parameter", "displayName": "User",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the user
that the ArangoDB client logs in with. Only used when password is set as [...]
}
}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/arangodb-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/arangodb-component.adoc
index 9f5e4f6ec1d0..0a80be988774 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/arangodb-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/arangodb-component.adoc
@@ -2,7 +2,7 @@
:doctitle: ArangoDb
:shortname: arangodb
:artifactid: camel-arangodb
-:description: Perform operations on ArangoDb when used as a Document Database,
or as a Graph Database
+:description: Store, find, update and delete documents, vertices and edges in
an ArangoDB database, and run AQL queries.
:since: 3.5
:supportlevel: Stable
:tabs-sync-option:
diff --git
a/components/camel-arangodb/src/generated/resources/META-INF/org/apache/camel/component/arangodb/arangodb.json
b/components/camel-arangodb/src/generated/resources/META-INF/org/apache/camel/component/arangodb/arangodb.json
index 5197a4dd3baf..ed6e5f6de6f7 100644
---
a/components/camel-arangodb/src/generated/resources/META-INF/org/apache/camel/component/arangodb/arangodb.json
+++
b/components/camel-arangodb/src/generated/resources/META-INF/org/apache/camel/component/arangodb/arangodb.json
@@ -3,7 +3,7 @@
"kind": "component",
"name": "arangodb",
"title": "ArangoDb",
- "description": "Perform operations on ArangoDb when used as a Document
Database, or as a Graph Database",
+ "description": "Store, find, update and delete documents, vertices and
edges in an ArangoDB database, and run AQL queries.",
"deprecated": false,
"firstVersion": "3.5.0",
"label": "database",
@@ -24,48 +24,48 @@
"remote": true
},
"componentProperties": {
- "configuration": { "index": 0, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.arangodb.ArangoDbConfiguration", "deprecated":
false, "autowired": false, "secret": false, "description": "Component
configuration" },
- "documentCollection": { "index": 1, "kind": "property", "displayName":
"Document Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name, when
using ArangoDb as a Document Database. Set the documentCollection [...]
- "edgeCollection": { "index": 2, "kind": "property", "displayName": "Edge
Collection", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name of
vertices, when using ArangoDb as a Graph Database. Set the edgeCollection na
[...]
- "graph": { "index": 3, "kind": "property", "displayName": "Graph",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Graph name, when using
ArangoDb as a Graph Database. Combine this attribute with one of the two
attributes vertexC [...]
- "host": { "index": 4, "kind": "property", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB host. If host
and port are default, this field is Optional." },
+ "configuration": { "index": 0, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.arangodb.ArangoDbConfiguration", "deprecated":
false, "autowired": false, "secret": false, "description": "The shared
configuration of the endpoints. Each endpoint starts from a copy of it, and the
options of the endpoint URI replace its values." },
+ "documentCollection": { "index": 1, "kind": "property", "displayName":
"Document Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the document
collection for the operations SAVE_DOCUMENT, FIND_DOCUMENT_BY_ [...]
+ "edgeCollection": { "index": 2, "kind": "property", "displayName": "Edge
Collection", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the edge
collection of the graph for the operations SAVE_EDGE, FIND_EDGE_BY_KEY, UP [...]
+ "graph": { "index": 3, "kind": "property", "displayName": "Graph",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the named
graph for the vertex and edge operations, such as SAVE_VERTEX and SAVE_EDGE.
Use it with ver [...]
+ "host": { "index": 4, "kind": "property", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The host name or IP
address of the ArangoDB server. Must be set together with port, unless the
arangoDB option sets [...]
"lazyStartProducer": { "index": 5, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "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 [...]
- "operation": { "index": 6, "kind": "property", "displayName": "Operation",
"group": "producer", "label": "producer", "required": false, "type": "enum",
"javaType": "org.apache.camel.component.arangodb.ArangoDbOperation", "enum": [
"SAVE_DOCUMENT", "FIND_DOCUMENT_BY_KEY", "UPDATE_DOCUMENT", "DELETE_DOCUMENT",
"AQL_QUERY", "SAVE_VERTEX", "FIND_VERTEX_BY_KEY", "UPDATE_VERTEX",
"DELETE_VERTEX", "SAVE_EDGE", "FIND_EDGE_BY_KEY", "UPDATE_EDGE", "DELETE_EDGE"
], "deprecated": false, "autowir [...]
- "port": { "index": 7, "kind": "property", "displayName": "Port", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB exposed port.
If host and port are default, this field is Optional." },
- "vertexCollection": { "index": 8, "kind": "property", "displayName":
"Vertex Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name of
vertices, when using ArangoDb as a Graph Database. Set the vertexCollect [...]
- "arangoDB": { "index": 9, "kind": "property", "displayName": "Arango DB",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "com.arangodb.ArangoDB", "deprecated": false, "autowired": true,
"secret": false, "description": "To use an existing ArangDB client." },
+ "operation": { "index": 6, "kind": "property", "displayName": "Operation",
"group": "producer", "label": "producer", "required": false, "type": "enum",
"javaType": "org.apache.camel.component.arangodb.ArangoDbOperation", "enum": [
"SAVE_DOCUMENT", "FIND_DOCUMENT_BY_KEY", "UPDATE_DOCUMENT", "DELETE_DOCUMENT",
"AQL_QUERY", "SAVE_VERTEX", "FIND_VERTEX_BY_KEY", "UPDATE_VERTEX",
"DELETE_VERTEX", "SAVE_EDGE", "FIND_EDGE_BY_KEY", "UPDATE_EDGE", "DELETE_EDGE"
], "deprecated": false, "autowir [...]
+ "port": { "index": 7, "kind": "property", "displayName": "Port", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The port of the ArangoDB
server, for example 8529, the default port of ArangoDB. Must be set together
with host, unless the aran [...]
+ "vertexCollection": { "index": 8, "kind": "property", "displayName":
"Vertex Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the vertex
collection of the graph for the operations SAVE_VERTEX, FIND_VERTEX_ [...]
+ "arangoDB": { "index": 9, "kind": "property", "displayName": "Arango DB",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "com.arangodb.ArangoDB", "deprecated": false, "autowired": true,
"secret": false, "description": "To use a custom com.arangodb.ArangoDB client
for all the endpoints of the component. When it is set or autowired, the host,
port, user, password and vertx options are not used. Each endpoint shuts the
client down when it shut [...]
"autowiredEnabled": { "index": 10, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
- "vertx": { "index": 11, "kind": "property", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": true,
"secret": false, "description": "To use an existing Vertx in the ArangoDB
client." },
- "password": { "index": 12, "kind": "property", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB password. If
user and password are default, this field is Optional." },
- "user": { "index": 13, "kind": "property", "displayName": "User", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB user. If user
and password are default, this field is Optional." }
+ "vertx": { "index": 11, "kind": "property", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": true,
"secret": false, "description": "To use a custom io.vertx.core.Vertx instance
for the HTTP connections of the ArangoDB clients that the endpoints create. If
not set, the ArangoDB driver creates its own Vert.x instance. Not used when the
arangoDB option sets a client." },
+ "password": { "index": 12, "kind": "property", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The password of the user
that the ArangoDB client logs in with. Only used when user is [...]
+ "user": { "index": 13, "kind": "property", "displayName": "User", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the user
that the ArangoDB client logs in with. Only used when password is set as [...]
},
"headers": {
- "CamelArangoDbMultiUpdate": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Indicates if there are multiple
documents to update. If set to true, the body of the message must be a
Collection of documents to update.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#MULTI_UPDATE" },
- "CamelArangoDbMultiInsert": { "index": 1, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Indicates if there are multiple
documents to insert. If set to true, the body of the message must be a
Collection of documents to insert.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#MULTI_INSERT" },
- "CamelArangoDbMultiDelete": { "index": 2, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Indicates if there are multiple
documents to delete. If set to true, the body of the message must be a
Collection of key of documents to delete.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#MULTI_DE [...]
- "CamelArangoDbKey": { "index": 3, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Arango key to use for the operation.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#ARANGO_KEY" },
- "CamelArangoDbResultClassType": { "index": 4, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.lang.Class", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "BaseDocument.class or
BaseEdgeDocument.class", "description": "The type of the result of the
operation.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#RESULT_CLASS_TYPE" },
- "CamelArangoDbAqlQuery": { "index": 5, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The AQL query to execute.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY" },
- "CamelArangoDbAqlParameters": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.util.Map", "deprecated": false, "autowired": false, "secret":
false, "description": "The key\/value pairs defining the variables to bind the
query to.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY_BIND_PARAMETERS"
},
- "CamelArangoDbAqlOptions": { "index": 7, "kind": "header", "displayName":
"", "group": "advanced", "label": "advanced", "required": false, "javaType":
"com.arangodb.model.AqlQueryOptions", "deprecated": false, "autowired": false,
"secret": false, "description": "The additional options that will be passed to
the query API.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY_OPTIONS" }
+ "CamelArangoDbMultiUpdate": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether UPDATE_DOCUMENT updates several
documents. If true, the body must be a Collection of documents that each have
their _key, and the CamelArangoDbKey header is not used.", "constantName":
"org.apache.camel.component.arang [...]
+ "CamelArangoDbMultiInsert": { "index": 1, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether SAVE_DOCUMENT saves several
documents. If true, the body must be a Collection of documents. A Collection
body is saved as several documents even when this header is not set.",
"constantName": "org.apache.camel.componen [...]
+ "CamelArangoDbMultiDelete": { "index": 2, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether DELETE_DOCUMENT deletes several
documents. If true, the body must be a Collection of the keys of the documents.
If false, the body is the key of one document.", "constantName":
"org.apache.camel.component.arangodb.Aran [...]
+ "CamelArangoDbKey": { "index": 3, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The key, as a String, of the document, vertex or edge that
UPDATE_DOCUMENT, UPDATE_VERTEX and UPDATE_EDGE update. The find and delete
operations take the key from the body instead.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#ARAN [...]
+ "CamelArangoDbResultClassType": { "index": 4, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.lang.Class", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "BaseDocument.class or
BaseEdgeDocument.class", "description": "The java.lang.Class that
FIND_DOCUMENT_BY_KEY, FIND_VERTEX_BY_KEY, FIND_EDGE_BY_KEY and AQL_QUERY
convert each result to. A class name as text is not accepted. If not set,
BaseEdgeDoc [...]
+ "CamelArangoDbAqlQuery": { "index": 5, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The AQL query that AQL_QUERY runs. If not set, the body is the
query.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY" },
+ "CamelArangoDbAqlParameters": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.util.Map", "deprecated": false, "autowired": false, "secret":
false, "description": "The bind parameters of the AQL query of AQL_QUERY, as a
Map from the name of each bind parameter to its value, for example foo for foo
in the query.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_QUERY_BIND_PARAMETERS"
},
+ "CamelArangoDbAqlOptions": { "index": 7, "kind": "header", "displayName":
"", "group": "advanced", "label": "advanced", "required": false, "javaType":
"com.arangodb.model.AqlQueryOptions", "deprecated": false, "autowired": false,
"secret": false, "description": "The com.arangodb.model.AqlQueryOptions of the
AQL query of AQL_QUERY, such as its batch size. If not set, the query runs with
the default options.", "constantName":
"org.apache.camel.component.arangodb.ArangoDbConstants#AQL_Q [...]
},
"bodyTypes": {
"producerIn": { "carriers": [ "map", "pojo", "list" ], "byOption": [ {
"option": "operation", "value": "FIND_DOCUMENT_BY_KEY", "carriers": [ "text" ]
}, { "option": "operation", "value": "DELETE_DOCUMENT", "carriers": [ "text",
"list" ] }, { "option": "operation", "value": "AQL_QUERY", "carriers": [ "text"
] }, { "option": "operation", "value": "SAVE_VERTEX", "carriers": [ "map",
"pojo" ] }, { "option": "operation", "value": "UPDATE_VERTEX", "carriers": [
"map", "pojo" ] }, { "option [...]
"producerOut": { "carriers": [ "unknown" ], "byOption": [ { "option":
"operation", "value": "SAVE_DOCUMENT", "carriers": [ "pojo" ] }, { "option":
"operation", "value": "FIND_DOCUMENT_BY_KEY", "carriers": [ "pojo", "null" ] },
{ "option": "operation", "value": "UPDATE_DOCUMENT", "carriers": [ "pojo" ] },
{ "option": "operation", "value": "DELETE_DOCUMENT", "carriers": [ "pojo" ] },
{ "option": "operation", "value": "AQL_QUERY", "carriers": [ "list" ] }, {
"option": "operation", "valu [...]
},
"properties": {
- "database": { "index": 0, "kind": "path", "displayName": "Database",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "database name" },
- "documentCollection": { "index": 1, "kind": "parameter", "displayName":
"Document Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name, when
using ArangoDb as a Document Database. Set the documentCollectio [...]
- "edgeCollection": { "index": 2, "kind": "parameter", "displayName": "Edge
Collection", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name of
vertices, when using ArangoDb as a Graph Database. Set the edgeCollection n
[...]
- "graph": { "index": 3, "kind": "parameter", "displayName": "Graph",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Graph name, when using
ArangoDb as a Graph Database. Combine this attribute with one of the two
attributes vertex [...]
- "host": { "index": 4, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB host. If host
and port are default, this field is Optional." },
- "operation": { "index": 5, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "producer", "required": false,
"type": "enum", "javaType":
"org.apache.camel.component.arangodb.ArangoDbOperation", "enum": [
"SAVE_DOCUMENT", "FIND_DOCUMENT_BY_KEY", "UPDATE_DOCUMENT", "DELETE_DOCUMENT",
"AQL_QUERY", "SAVE_VERTEX", "FIND_VERTEX_BY_KEY", "UPDATE_VERTEX",
"DELETE_VERTEX", "SAVE_EDGE", "FIND_EDGE_BY_KEY", "UPDATE_EDGE", "DELETE_EDGE"
], "deprecated": false, "autowi [...]
- "port": { "index": 6, "kind": "parameter", "displayName": "Port", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB exposed port.
If host and port are default, this field is Optional." },
- "vertexCollection": { "index": 7, "kind": "parameter", "displayName":
"Vertex Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "Collection name of
vertices, when using ArangoDb as a Graph Database. Set the vertexCollec [...]
+ "database": { "index": 0, "kind": "path", "displayName": "Database",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The name of the ArangoDB database that the
producer works on. The producer does not create the database." },
+ "documentCollection": { "index": 1, "kind": "parameter", "displayName":
"Document Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the document
collection for the operations SAVE_DOCUMENT, FIND_DOCUMENT_BY [...]
+ "edgeCollection": { "index": 2, "kind": "parameter", "displayName": "Edge
Collection", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the edge
collection of the graph for the operations SAVE_EDGE, FIND_EDGE_BY_KEY, U [...]
+ "graph": { "index": 3, "kind": "parameter", "displayName": "Graph",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the named
graph for the vertex and edge operations, such as SAVE_VERTEX and SAVE_EDGE.
Use it with ve [...]
+ "host": { "index": 4, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The host name or IP
address of the ArangoDB server. Must be set together with port, unless the
arangoDB option sets [...]
+ "operation": { "index": 5, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "producer", "required": false,
"type": "enum", "javaType":
"org.apache.camel.component.arangodb.ArangoDbOperation", "enum": [
"SAVE_DOCUMENT", "FIND_DOCUMENT_BY_KEY", "UPDATE_DOCUMENT", "DELETE_DOCUMENT",
"AQL_QUERY", "SAVE_VERTEX", "FIND_VERTEX_BY_KEY", "UPDATE_VERTEX",
"DELETE_VERTEX", "SAVE_EDGE", "FIND_EDGE_BY_KEY", "UPDATE_EDGE", "DELETE_EDGE"
], "deprecated": false, "autowi [...]
+ "port": { "index": 6, "kind": "parameter", "displayName": "Port", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The port of the ArangoDB
server, for example 8529, the default port of ArangoDB. Must be set together
with host, unless the ara [...]
+ "vertexCollection": { "index": 7, "kind": "parameter", "displayName":
"Vertex Collection", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the vertex
collection of the graph for the operations SAVE_VERTEX, FIND_VERTEX [...]
"lazyStartProducer": { "index": 8, "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 produc [...]
- "arangoDB": { "index": 9, "kind": "parameter", "displayName": "Arango DB",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "com.arangodb.ArangoDB", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing ArangDB client." },
- "vertx": { "index": 10, "kind": "parameter", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing Vertx instance in the
ArangoDB client." },
- "password": { "index": 11, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB password. If
user and password are default, this field is Optional." },
- "user": { "index": 12, "kind": "parameter", "displayName": "User",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "ArangoDB user. If user
and password are default, this field is Optional." }
+ "arangoDB": { "index": 9, "kind": "parameter", "displayName": "Arango DB",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "com.arangodb.ArangoDB", "deprecated": false, "autowired": false,
"secret": false, "description": "To use a custom com.arangodb.ArangoDB client.
When it is set, or set on the component, the host, port, user, password and
vertx options are not used. The endpoint shuts the client down when it shuts
down." },
+ "vertx": { "index": 10, "kind": "parameter", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use a custom io.vertx.core.Vertx instance
for the HTTP connections of the ArangoDB client that the endpoint creates. If
not set, the ArangoDB driver creates its own Vert.x instance. Not used when the
arangoDB option sets a client." },
+ "password": { "index": 11, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The password of the user
that the ArangoDB client logs in with. Only used when user i [...]
+ "user": { "index": 12, "kind": "parameter", "displayName": "User",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.arangodb.ArangoDbConfiguration",
"configurationField": "configuration", "description": "The name of the user
that the ArangoDB client logs in with. Only used when password is set as [...]
}
}
diff --git a/components/camel-arangodb/src/main/docs/arangodb-component.adoc
b/components/camel-arangodb/src/main/docs/arangodb-component.adoc
index 9f5e4f6ec1d0..0a80be988774 100644
--- a/components/camel-arangodb/src/main/docs/arangodb-component.adoc
+++ b/components/camel-arangodb/src/main/docs/arangodb-component.adoc
@@ -2,7 +2,7 @@
:doctitle: ArangoDb
:shortname: arangodb
:artifactid: camel-arangodb
-:description: Perform operations on ArangoDb when used as a Document Database,
or as a Graph Database
+:description: Store, find, update and delete documents, vertices and edges in
an ArangoDB database, and run AQL queries.
:since: 3.5
:supportlevel: Stable
:tabs-sync-option:
diff --git
a/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbComponent.java
b/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbComponent.java
index f9b769d8af40..67dcb8ea5ba1 100644
---
a/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbComponent.java
+++
b/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbComponent.java
@@ -30,11 +30,18 @@ import org.apache.camel.util.ObjectHelper;
@Component("arangodb")
public class ArangoDbComponent extends DefaultComponent {
- @Metadata(label = "advanced", autowired = true)
+ @Metadata(label = "advanced", autowired = true,
+ description = "To use a custom com.arangodb.ArangoDB client for
all the endpoints of the component. When it is"
+ + " set or autowired, the host, port, user,
password and vertx options are not used. Each endpoint"
+ + " shuts the client down when it shuts down.")
private ArangoDB arangoDB;
- @Metadata(label = "advanced", autowired = true)
+ @Metadata(label = "advanced", autowired = true,
+ description = "To use a custom io.vertx.core.Vertx instance for
the HTTP connections of the ArangoDB clients that"
+ + " the endpoints create. If not set, the ArangoDB
driver creates its own Vert.x instance. Not used"
+ + " when the arangoDB option sets a client.")
private Vertx vertx;
- @Metadata
+ @Metadata(description = "The shared configuration of the endpoints. Each
endpoint starts from a copy of it, and the options"
+ + " of the endpoint URI replace its values.")
private ArangoDbConfiguration configuration = new ArangoDbConfiguration();
public ArangoDbComponent() {
@@ -64,9 +71,6 @@ public class ArangoDbComponent extends DefaultComponent {
return arangoDB;
}
- /**
- * To use an existing ArangDB client.
- */
public void setArangoDB(ArangoDB arangoDB) {
this.arangoDB = arangoDB;
}
@@ -75,9 +79,6 @@ public class ArangoDbComponent extends DefaultComponent {
return vertx;
}
- /**
- * To use an existing Vertx in the ArangoDB client.
- */
public void setVertx(Vertx vertx) {
this.vertx = vertx;
}
@@ -86,9 +87,6 @@ public class ArangoDbComponent extends DefaultComponent {
return configuration;
}
- /**
- * Component configuration
- */
public void setConfiguration(ArangoDbConfiguration configuration) {
this.configuration = configuration;
}
diff --git
a/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbConfiguration.java
b/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbConfiguration.java
index 185d96e6ee00..175fa69eed5d 100644
---
a/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbConfiguration.java
+++
b/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbConfiguration.java
@@ -24,23 +24,43 @@ import org.apache.camel.spi.UriParams;
public class ArangoDbConfiguration implements Cloneable {
private String database;
- @UriParam(label = "producer")
+ @UriParam(label = "producer",
+ description = "The host name or IP address of the ArangoDB
server. Must be set together with port, unless the"
+ + " arangoDB option sets a client, in which case
it is not used.")
private String host;
- @UriParam(label = "producer")
+ @UriParam(label = "producer",
+ description = "The port of the ArangoDB server, for example
8529, the default port of ArangoDB. Must be set"
+ + " together with host, unless the arangoDB option
sets a client, in which case it is not used.")
private int port;
- @UriParam(label = "security", security = "secret")
+ @UriParam(label = "security", security = "secret",
+ description = "The name of the user that the ArangoDB client
logs in with. Only used when password is set as"
+ + " well. If either is not set, the ArangoDB
driver logs in as the user root with no password. Not"
+ + " used when the arangoDB option sets a client.")
private String user;
- @UriParam(label = "security", security = "secret")
+ @UriParam(label = "security", security = "secret",
+ description = "The password of the user that the ArangoDB client
logs in with. Only used when user is set as"
+ + " well. Not used when the arangoDB option sets a
client.")
private String password;
- @UriParam(label = "producer")
+ @UriParam(label = "producer",
+ description = "The name of the document collection for the
operations SAVE_DOCUMENT, FIND_DOCUMENT_BY_KEY,"
+ + " UPDATE_DOCUMENT and DELETE_DOCUMENT. The
producer does not create the collection.")
private String documentCollection;
- @UriParam(label = "producer")
+ @UriParam(label = "producer",
+ description = "The operation that the producer performs.
Required: the producer fails to start without it, and"
+ + " no header replaces it. AQL_QUERY needs only
the database, not a collection or a graph.")
private ArangoDbOperation operation;
- @UriParam(label = "producer")
+ @UriParam(label = "producer",
+ description = "The name of the named graph for the vertex and
edge operations, such as SAVE_VERTEX and"
+ + " SAVE_EDGE. Use it with vertexCollection for
the vertex operations, and with edgeCollection for"
+ + " the edge operations.")
private String graph;
- @UriParam(label = "producer")
+ @UriParam(label = "producer",
+ description = "The name of the vertex collection of the graph
for the operations SAVE_VERTEX,"
+ + " FIND_VERTEX_BY_KEY, UPDATE_VERTEX and
DELETE_VERTEX. The graph option must be set as well.")
private String vertexCollection;
- @UriParam(label = "producer")
+ @UriParam(label = "producer",
+ description = "The name of the edge collection of the graph for
the operations SAVE_EDGE, FIND_EDGE_BY_KEY,"
+ + " UPDATE_EDGE and DELETE_EDGE. The graph option
must be set as well.")
private String edgeCollection;
public ArangoDbConfiguration() {
@@ -63,11 +83,6 @@ public class ArangoDbConfiguration implements Cloneable {
return host;
}
- /**
- * ArangoDB host. If host and port are default, this field is Optional.
- *
- * @param host
- */
public void setHost(String host) {
this.host = host;
}
@@ -76,11 +91,6 @@ public class ArangoDbConfiguration implements Cloneable {
return port;
}
- /**
- * ArangoDB exposed port. If host and port are default, this field is
Optional.
- *
- * @param port
- */
public void setPort(int port) {
this.port = port;
}
@@ -89,11 +99,6 @@ public class ArangoDbConfiguration implements Cloneable {
return user;
}
- /**
- * ArangoDB user. If user and password are default, this field is Optional.
- *
- * @param user
- */
public void setUser(String user) {
this.user = user;
}
@@ -102,11 +107,6 @@ public class ArangoDbConfiguration implements Cloneable {
return password;
}
- /**
- * ArangoDB password. If user and password are default, this field is
Optional.
- *
- * @param password
- */
public void setPassword(String password) {
this.password = password;
}
@@ -115,13 +115,6 @@ public class ArangoDbConfiguration implements Cloneable {
return documentCollection;
}
- /**
- * Collection name, when using ArangoDb as a Document Database. Set the
documentCollection name when using the CRUD
- * operation on the document database collections (SAVE_DOCUMENT ,
FIND_DOCUMENT_BY_KEY, UPDATE_DOCUMENT,
- * DELETE_DOCUMENT).
- *
- * @param documentCollection
- */
public void setDocumentCollection(String documentCollection) {
this.documentCollection = documentCollection;
}
@@ -130,11 +123,6 @@ public class ArangoDbConfiguration implements Cloneable {
return operation;
}
- /**
- * Operations to perform on ArangoDb. For the operation AQL_QUERY, no need
to specify a collection or graph.
- *
- * @param operation
- */
public void setOperation(ArangoDbOperation operation) {
this.operation = operation;
}
@@ -143,12 +131,6 @@ public class ArangoDbConfiguration implements Cloneable {
return graph;
}
- /**
- * Graph name, when using ArangoDb as a Graph Database. Combine this
attribute with one of the two attributes
- * vertexCollection and edgeCollection.
- *
- * @param graph
- */
public void setGraph(String graph) {
this.graph = graph;
}
@@ -157,13 +139,6 @@ public class ArangoDbConfiguration implements Cloneable {
return vertexCollection;
}
- /**
- * Collection name of vertices, when using ArangoDb as a Graph Database.
Set the vertexCollection name to perform
- * CRUD operation on vertices using these operations : SAVE_EDGE,
FIND_EDGE_BY_KEY, UPDATE_EDGE, DELETE_EDGE. The
- * graph attribute is mandatory.
- *
- * @param vertexCollection
- */
public void setVertexCollection(String vertexCollection) {
this.vertexCollection = vertexCollection;
}
@@ -172,13 +147,6 @@ public class ArangoDbConfiguration implements Cloneable {
return edgeCollection;
}
- /**
- * Collection name of vertices, when using ArangoDb as a Graph Database.
Set the edgeCollection name to perform CRUD
- * operation on edges using these operations : SAVE_VERTEX,
FIND_VERTEX_BY_KEY, UPDATE_VERTEX, DELETE_VERTEX. The
- * graph attribute is mandatory.
- *
- * @param edgeCollection
- */
public void setEdgeCollection(String edgeCollection) {
this.edgeCollection = edgeCollection;
}
diff --git
a/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbConstants.java
b/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbConstants.java
index 1fdf5550fb86..60492b7170ba 100644
---
a/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbConstants.java
+++
b/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbConstants.java
@@ -19,26 +19,41 @@ package org.apache.camel.component.arangodb;
import org.apache.camel.spi.Metadata;
public final class ArangoDbConstants {
- @Metadata(description = "Indicates if there are multiple documents to
update. If set to `true`, the body of the message must be a `Collection` of
documents to update.",
+ @Metadata(description = "Whether UPDATE_DOCUMENT updates several
documents. If true, the body"
+ + " must be a Collection of documents that each
have their _key, and the CamelArangoDbKey header is"
+ + " not used.",
javaType = "java.lang.Boolean", defaultValue = "false")
public static final String MULTI_UPDATE = "CamelArangoDbMultiUpdate";
- @Metadata(description = "Indicates if there are multiple documents to
insert. If set to `true`, the body of the message must be a `Collection` of
documents to insert.",
+ @Metadata(description = "Whether SAVE_DOCUMENT saves several documents. If
true, the body must be"
+ + " a Collection of documents. A Collection body
is saved as several documents even when this"
+ + " header is not set.",
javaType = "java.lang.Boolean", defaultValue = "false")
public static final String MULTI_INSERT = "CamelArangoDbMultiInsert";
- @Metadata(description = "Indicates if there are multiple documents to
delete. If set to `true`, the body of the message must be a `Collection` of key
of documents to delete.",
+ @Metadata(description = "Whether DELETE_DOCUMENT deletes several
documents. If true, the body must"
+ + " be a Collection of the keys of the documents.
If false, the body is the key of one document.",
javaType = "java.lang.Boolean", defaultValue = "false")
public static final String MULTI_DELETE = "CamelArangoDbMultiDelete";
- @Metadata(description = "The Arango key to use for the operation.",
javaType = "java.lang.String")
+ @Metadata(description = "The key, as a String, of the document, vertex or
edge that"
+ + " UPDATE_DOCUMENT, UPDATE_VERTEX and UPDATE_EDGE
update. The find and delete operations take the"
+ + " key from the body instead.",
+ javaType = "java.lang.String")
public static final String ARANGO_KEY = "CamelArangoDbKey";
- @Metadata(description = "The type of the result of the operation.",
javaType = "java.lang.Class",
+ @Metadata(description = "The java.lang.Class that FIND_DOCUMENT_BY_KEY,
FIND_VERTEX_BY_KEY,"
+ + " FIND_EDGE_BY_KEY and AQL_QUERY convert each
result to. A class name as text is not accepted. If"
+ + " not set, BaseEdgeDocument is used for
FIND_EDGE_BY_KEY and BaseDocument for the other"
+ + " operations.",
+ javaType = "java.lang.Class",
defaultValue = "BaseDocument.class or BaseEdgeDocument.class")
public static final String RESULT_CLASS_TYPE =
"CamelArangoDbResultClassType";
- @Metadata(description = "The AQL query to execute.", javaType =
"java.lang.String")
+ @Metadata(description = "The AQL query that AQL_QUERY runs. If not set,
the body is the query.",
+ javaType = "java.lang.String")
public static final String AQL_QUERY = "CamelArangoDbAqlQuery";
- @Metadata(description = "The key/value pairs defining the variables to
bind the query to.",
+ @Metadata(description = "The bind parameters of the AQL query of
AQL_QUERY, as a Map from the"
+ + " name of each bind parameter to its value, for
example foo for @foo in the query.",
javaType = "java.util.Map")
public static final String AQL_QUERY_BIND_PARAMETERS =
"CamelArangoDbAqlParameters";
- @Metadata(label = "advanced", description = "The additional options that
will be passed to the query API.",
+ @Metadata(label = "advanced", description = "The
com.arangodb.model.AqlQueryOptions of the AQL query"
+ + " of AQL_QUERY, such as its
batch size. If not set, the query runs with the default options.",
javaType = "com.arangodb.model.AqlQueryOptions")
public static final String AQL_QUERY_OPTIONS = "CamelArangoDbAqlOptions";
diff --git
a/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbEndpoint.java
b/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbEndpoint.java
index 1a709db8b0eb..abfd64ef2686 100644
---
a/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbEndpoint.java
+++
b/components/camel-arangodb/src/main/java/org/apache/camel/component/arangodb/ArangoDbEndpoint.java
@@ -37,7 +37,7 @@ import org.apache.camel.support.DefaultEndpoint;
import org.apache.camel.util.ObjectHelper;
/**
- * Perform operations on ArangoDb when used as a Document Database, or as a
Graph Database
+ * Store, find, update and delete documents, vertices and edges in an ArangoDB
database, and run AQL queries.
*/
@UriEndpoint(firstVersion = "3.5.0", scheme = "arangodb", title = "ArangoDb",
syntax = "arangodb:database",
category = { Category.DATABASE }, producerOnly = true,
headersClass = ArangoDbConstants.class)
@@ -112,14 +112,21 @@ import org.apache.camel.util.ObjectHelper;
+ " a query that returns
nothing; and true for a delete of a vertex or edge"))
public class ArangoDbEndpoint extends DefaultEndpoint implements
EndpointServiceLocation {
- @UriPath(description = "database name")
+ @UriPath(description = "The name of the ArangoDB database that the
producer works on. The producer does not create the"
+ + " database.")
@Metadata(required = true)
private String database;
@UriParam
private ArangoDbConfiguration configuration;
- @UriParam(label = "advanced")
+ @UriParam(label = "advanced",
+ description = "To use a custom com.arangodb.ArangoDB client.
When it is set, or set on the component, the host,"
+ + " port, user, password and vertx options are not
used. The endpoint shuts the client down when"
+ + " it shuts down.")
private ArangoDB arangoDB;
- @UriParam(label = "advanced")
+ @UriParam(label = "advanced",
+ description = "To use a custom io.vertx.core.Vertx instance for
the HTTP connections of the ArangoDB client that"
+ + " the endpoint creates. If not set, the ArangoDB
driver creates its own Vert.x instance. Not used"
+ + " when the arangoDB option sets a client.")
private Vertx vertx;
public ArangoDbEndpoint() {
@@ -166,9 +173,6 @@ public class ArangoDbEndpoint extends DefaultEndpoint
implements EndpointService
return arangoDB;
}
- /**
- * To use an existing ArangDB client.
- */
public void setArangoDB(ArangoDB arangoDB) {
this.arangoDB = arangoDB;
}
@@ -177,9 +181,6 @@ public class ArangoDbEndpoint extends DefaultEndpoint
implements EndpointService
return vertx;
}
- /**
- * To use an existing Vertx instance in the ArangoDB client.
- */
public void setVertx(Vertx vertx) {
this.vertx = vertx;
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 59f20d1964e4..bf8799ea0166 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -262,8 +262,8 @@ public interface ComponentsBuilderFactory {
}
/**
* ArangoDb (camel-arangodb)
- * Perform operations on ArangoDb when used as a Document Database, or as a
- * Graph Database
+ * Store, find, update and delete documents, vertices and edges in an
+ * ArangoDB database, and run AQL queries.
*
* Category: database
* Since: 3.5
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ArangodbComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ArangodbComponentBuilderFactory.java
index a40d6e56d721..52cd7b2e2a97 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ArangodbComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ArangodbComponentBuilderFactory.java
@@ -24,8 +24,8 @@ import org.apache.camel.builder.component.ComponentBuilder;
import org.apache.camel.component.arangodb.ArangoDbComponent;
/**
- * Perform operations on ArangoDb when used as a Document Database, or as a
- * Graph Database
+ * Store, find, update and delete documents, vertices and edges in an ArangoDB
+ * database, and run AQL queries.
*
* Generated by camel build tools - do NOT edit this file!
*/
@@ -34,8 +34,8 @@ public interface ArangodbComponentBuilderFactory {
/**
* ArangoDb (camel-arangodb)
- * Perform operations on ArangoDb when used as a Document Database, or as a
- * Graph Database
+ * Store, find, update and delete documents, vertices and edges in an
+ * ArangoDB database, and run AQL queries.
*
* Category: database
* Since: 3.5
@@ -53,7 +53,8 @@ public interface ArangodbComponentBuilderFactory {
interface ArangodbComponentBuilder extends
ComponentBuilder<ArangoDbComponent> {
/**
- * Component configuration.
+ * The shared configuration of the endpoints. Each endpoint starts from
+ * a copy of it, and the options of the endpoint URI replace its
values.
*
* The option is a:
*
<code>org.apache.camel.component.arangodb.ArangoDbConfiguration</code>
type.
@@ -69,10 +70,9 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * Collection name, when using ArangoDb as a Document Database. Set the
- * documentCollection name when using the CRUD operation on the
document
- * database collections (SAVE_DOCUMENT , FIND_DOCUMENT_BY_KEY,
- * UPDATE_DOCUMENT, DELETE_DOCUMENT).
+ * The name of the document collection for the operations
SAVE_DOCUMENT,
+ * FIND_DOCUMENT_BY_KEY, UPDATE_DOCUMENT and DELETE_DOCUMENT. The
+ * producer does not create the collection.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -87,10 +87,9 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * Collection name of vertices, when using ArangoDb as a Graph
Database.
- * Set the edgeCollection name to perform CRUD operation on edges using
- * these operations : SAVE_VERTEX, FIND_VERTEX_BY_KEY, UPDATE_VERTEX,
- * DELETE_VERTEX. The graph attribute is mandatory.
+ * The name of the edge collection of the graph for the operations
+ * SAVE_EDGE, FIND_EDGE_BY_KEY, UPDATE_EDGE and DELETE_EDGE. The graph
+ * option must be set as well.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -105,9 +104,9 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * Graph name, when using ArangoDb as a Graph Database. Combine this
- * attribute with one of the two attributes vertexCollection and
- * edgeCollection.
+ * The name of the named graph for the vertex and edge operations, such
+ * as SAVE_VERTEX and SAVE_EDGE. Use it with vertexCollection for the
+ * vertex operations, and with edgeCollection for the edge operations.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -122,7 +121,9 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * ArangoDB host. If host and port are default, this field is Optional.
+ * The host name or IP address of the ArangoDB server. Must be set
+ * together with port, unless the arangoDB option sets a client, in
+ * which case it is not used.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -162,8 +163,9 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * Operations to perform on ArangoDb. For the operation AQL_QUERY, no
- * need to specify a collection or graph.
+ * The operation that the producer performs. Required: the producer
+ * fails to start without it, and no header replaces it. AQL_QUERY
needs
+ * only the database, not a collection or a graph.
*
* The option is a:
*
<code>org.apache.camel.component.arangodb.ArangoDbOperation</code>
type.
@@ -179,8 +181,9 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * ArangoDB exposed port. If host and port are default, this field is
- * Optional.
+ * The port of the ArangoDB server, for example 8529, the default port
+ * of ArangoDB. Must be set together with host, unless the arangoDB
+ * option sets a client, in which case it is not used.
*
* The option is a: <code>int</code> type.
*
@@ -195,10 +198,9 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * Collection name of vertices, when using ArangoDb as a Graph
Database.
- * Set the vertexCollection name to perform CRUD operation on vertices
- * using these operations : SAVE_EDGE, FIND_EDGE_BY_KEY, UPDATE_EDGE,
- * DELETE_EDGE. The graph attribute is mandatory.
+ * The name of the vertex collection of the graph for the operations
+ * SAVE_VERTEX, FIND_VERTEX_BY_KEY, UPDATE_VERTEX and DELETE_VERTEX.
The
+ * graph option must be set as well.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -213,7 +215,10 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * To use an existing ArangDB client.
+ * To use a custom com.arangodb.ArangoDB client for all the endpoints
of
+ * the component. When it is set or autowired, the host, port, user,
+ * password and vertx options are not used. Each endpoint shuts the
+ * client down when it shuts down.
*
* The option is a: <code>com.arangodb.ArangoDB</code>
type.
*
@@ -250,7 +255,10 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * To use an existing Vertx in the ArangoDB client.
+ * To use a custom io.vertx.core.Vertx instance for the HTTP
connections
+ * of the ArangoDB clients that the endpoints create. If not set, the
+ * ArangoDB driver creates its own Vert.x instance. Not used when the
+ * arangoDB option sets a client.
*
* The option is a: <code>io.vertx.core.Vertx</code> type.
*
@@ -265,8 +273,9 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * ArangoDB password. If user and password are default, this field is
- * Optional.
+ * The password of the user that the ArangoDB client logs in with. Only
+ * used when user is set as well. Not used when the arangoDB option
sets
+ * a client.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -281,8 +290,10 @@ public interface ArangodbComponentBuilderFactory {
}
/**
- * ArangoDB user. If user and password are default, this field is
- * Optional.
+ * The name of the user that the ArangoDB client logs in with. Only
used
+ * when password is set as well. If either is not set, the ArangoDB
+ * driver logs in as the user root with no password. Not used when the
+ * arangoDB option sets a client.
*
* The option is a: <code>java.lang.String</code> type.
*
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointHeaderBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointHeaderBuilders.java
index a9aa1285aa54..1ee9d8e1b817 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointHeaderBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointHeaderBuilders.java
@@ -242,8 +242,8 @@ public class EndpointHeaderBuilders {
}
/**
* ArangoDb (camel-arangodb)
- * Perform operations on ArangoDb when used as a Document Database, or as a
- * Graph Database
+ * Store, find, update and delete documents, vertices and edges in an
+ * ArangoDB database, and run AQL queries.
*
* Category: database
* Since: 3.5
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 634d9650ce86..0caa77cf2870 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -792,8 +792,8 @@ public class StaticEndpointBuilders {
}
/**
* ArangoDb (camel-arangodb)
- * Perform operations on ArangoDb when used as a Document Database, or as a
- * Graph Database
+ * Store, find, update and delete documents, vertices and edges in an
+ * ArangoDB database, and run AQL queries.
*
* Category: database
* Since: 3.5
@@ -802,7 +802,8 @@ public class StaticEndpointBuilders {
* Syntax: <code>arangodb:database</code>
*
* Path parameter: database (required)
- * database name
+ * The name of the ArangoDB database that the producer works on. The
+ * producer does not create the database.
*
* @param path database
* @return the dsl builder
@@ -812,8 +813,8 @@ public class StaticEndpointBuilders {
}
/**
* ArangoDb (camel-arangodb)
- * Perform operations on ArangoDb when used as a Document Database, or as a
- * Graph Database
+ * Store, find, update and delete documents, vertices and edges in an
+ * ArangoDB database, and run AQL queries.
*
* Category: database
* Since: 3.5
@@ -822,7 +823,8 @@ public class StaticEndpointBuilders {
* Syntax: <code>arangodb:database</code>
*
* Path parameter: database (required)
- * database name
+ * The name of the ArangoDB database that the producer works on. The
+ * producer does not create the database.
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ArangoDbEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ArangoDbEndpointBuilderFactory.java
index 51973b75e116..d53568e5bb5e 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ArangoDbEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ArangoDbEndpointBuilderFactory.java
@@ -27,8 +27,8 @@ import org.apache.camel.builder.EndpointProducerBuilder;
import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
/**
- * Perform operations on ArangoDb when used as a Document Database, or as a
- * Graph Database
+ * Store, find, update and delete documents, vertices and edges in an ArangoDB
+ * database, and run AQL queries.
*
* Generated by camel build tools - do NOT edit this file!
*/
@@ -46,10 +46,9 @@ public interface ArangoDbEndpointBuilderFactory {
}
/**
- * Collection name, when using ArangoDb as a Document Database. Set the
- * documentCollection name when using the CRUD operation on the
document
- * database collections (SAVE_DOCUMENT , FIND_DOCUMENT_BY_KEY,
- * UPDATE_DOCUMENT, DELETE_DOCUMENT).
+ * The name of the document collection for the operations
SAVE_DOCUMENT,
+ * FIND_DOCUMENT_BY_KEY, UPDATE_DOCUMENT and DELETE_DOCUMENT. The
+ * producer does not create the collection.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -63,10 +62,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * Collection name of vertices, when using ArangoDb as a Graph
Database.
- * Set the edgeCollection name to perform CRUD operation on edges using
- * these operations : SAVE_VERTEX, FIND_VERTEX_BY_KEY, UPDATE_VERTEX,
- * DELETE_VERTEX. The graph attribute is mandatory.
+ * The name of the edge collection of the graph for the operations
+ * SAVE_EDGE, FIND_EDGE_BY_KEY, UPDATE_EDGE and DELETE_EDGE. The graph
+ * option must be set as well.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -80,9 +78,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * Graph name, when using ArangoDb as a Graph Database. Combine this
- * attribute with one of the two attributes vertexCollection and
- * edgeCollection.
+ * The name of the named graph for the vertex and edge operations, such
+ * as SAVE_VERTEX and SAVE_EDGE. Use it with vertexCollection for the
+ * vertex operations, and with edgeCollection for the edge operations.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -96,7 +94,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * ArangoDB host. If host and port are default, this field is Optional.
+ * The host name or IP address of the ArangoDB server. Must be set
+ * together with port, unless the arangoDB option sets a client, in
+ * which case it is not used.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -110,8 +110,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * Operations to perform on ArangoDb. For the operation AQL_QUERY, no
- * need to specify a collection or graph.
+ * The operation that the producer performs. Required: the producer
+ * fails to start without it, and no header replaces it. AQL_QUERY
needs
+ * only the database, not a collection or a graph.
*
* The option is a:
* <code>org.apache.camel.component.arangodb.ArangoDbOperation</code>
@@ -127,8 +128,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * Operations to perform on ArangoDb. For the operation AQL_QUERY, no
- * need to specify a collection or graph.
+ * The operation that the producer performs. Required: the producer
+ * fails to start without it, and no header replaces it. AQL_QUERY
needs
+ * only the database, not a collection or a graph.
*
* The option will be converted to a
* <code>org.apache.camel.component.arangodb.ArangoDbOperation</code>
@@ -144,8 +146,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * ArangoDB exposed port. If host and port are default, this field is
- * Optional.
+ * The port of the ArangoDB server, for example 8529, the default port
+ * of ArangoDB. Must be set together with host, unless the arangoDB
+ * option sets a client, in which case it is not used.
*
* The option is a: <code>int</code> type.
*
@@ -159,8 +162,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * ArangoDB exposed port. If host and port are default, this field is
- * Optional.
+ * The port of the ArangoDB server, for example 8529, the default port
+ * of ArangoDB. Must be set together with host, unless the arangoDB
+ * option sets a client, in which case it is not used.
*
* The option will be converted to a <code>int</code> type.
*
@@ -174,10 +178,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * Collection name of vertices, when using ArangoDb as a Graph
Database.
- * Set the vertexCollection name to perform CRUD operation on vertices
- * using these operations : SAVE_EDGE, FIND_EDGE_BY_KEY, UPDATE_EDGE,
- * DELETE_EDGE. The graph attribute is mandatory.
+ * The name of the vertex collection of the graph for the operations
+ * SAVE_VERTEX, FIND_VERTEX_BY_KEY, UPDATE_VERTEX and DELETE_VERTEX.
The
+ * graph option must be set as well.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -191,8 +194,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * ArangoDB password. If user and password are default, this field is
- * Optional.
+ * The password of the user that the ArangoDB client logs in with. Only
+ * used when user is set as well. Not used when the arangoDB option
sets
+ * a client.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -206,8 +210,10 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * ArangoDB user. If user and password are default, this field is
- * Optional.
+ * The name of the user that the ArangoDB client logs in with. Only
used
+ * when password is set as well. If either is not set, the ArangoDB
+ * driver logs in as the user root with no password. Not used when the
+ * arangoDB option sets a client.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -279,7 +285,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * To use an existing ArangDB client.
+ * To use a custom com.arangodb.ArangoDB client. When it is set, or set
+ * on the component, the host, port, user, password and vertx options
+ * are not used. The endpoint shuts the client down when it shuts down.
*
* The option is a: <code>com.arangodb.ArangoDB</code> type.
*
@@ -293,7 +301,9 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * To use an existing ArangDB client.
+ * To use a custom com.arangodb.ArangoDB client. When it is set, or set
+ * on the component, the host, port, user, password and vertx options
+ * are not used. The endpoint shuts the client down when it shuts down.
*
* The option will be converted to a <code>com.arangodb.ArangoDB</code>
* type.
@@ -308,7 +318,10 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * To use an existing Vertx instance in the ArangoDB client.
+ * To use a custom io.vertx.core.Vertx instance for the HTTP
connections
+ * of the ArangoDB client that the endpoint creates. If not set, the
+ * ArangoDB driver creates its own Vert.x instance. Not used when the
+ * arangoDB option sets a client.
*
* The option is a: <code>io.vertx.core.Vertx</code> type.
*
@@ -322,7 +335,10 @@ public interface ArangoDbEndpointBuilderFactory {
return this;
}
/**
- * To use an existing Vertx instance in the ArangoDB client.
+ * To use a custom io.vertx.core.Vertx instance for the HTTP
connections
+ * of the ArangoDB client that the endpoint creates. If not set, the
+ * ArangoDB driver creates its own Vert.x instance. Not used when the
+ * arangoDB option sets a client.
*
* The option will be converted to a <code>io.vertx.core.Vertx</code>
* type.
@@ -341,8 +357,8 @@ public interface ArangoDbEndpointBuilderFactory {
public interface ArangoDbBuilders {
/**
* ArangoDb (camel-arangodb)
- * Perform operations on ArangoDb when used as a Document Database, or
- * as a Graph Database
+ * Store, find, update and delete documents, vertices and edges in an
+ * ArangoDB database, and run AQL queries.
*
* Category: database
* Since: 3.5
@@ -355,8 +371,8 @@ public interface ArangoDbEndpointBuilderFactory {
}
/**
* ArangoDb (camel-arangodb)
- * Perform operations on ArangoDb when used as a Document Database, or
- * as a Graph Database
+ * Store, find, update and delete documents, vertices and edges in an
+ * ArangoDB database, and run AQL queries.
*
* Category: database
* Since: 3.5
@@ -365,7 +381,8 @@ public interface ArangoDbEndpointBuilderFactory {
* Syntax: <code>arangodb:database</code>
*
* Path parameter: database (required)
- * database name
+ * The name of the ArangoDB database that the producer works on. The
+ * producer does not create the database.
*
* @param path database
* @return the dsl builder
@@ -375,8 +392,8 @@ public interface ArangoDbEndpointBuilderFactory {
}
/**
* ArangoDb (camel-arangodb)
- * Perform operations on ArangoDb when used as a Document Database, or
- * as a Graph Database
+ * Store, find, update and delete documents, vertices and edges in an
+ * ArangoDB database, and run AQL queries.
*
* Category: database
* Since: 3.5
@@ -385,7 +402,8 @@ public interface ArangoDbEndpointBuilderFactory {
* Syntax: <code>arangodb:database</code>
*
* Path parameter: database (required)
- * database name
+ * The name of the ArangoDB database that the producer works on. The
+ * producer does not create the database.
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name
@@ -408,8 +426,9 @@ public interface ArangoDbEndpointBuilderFactory {
public static final ArangoDbHeaderNameBuilder INSTANCE = new
ArangoDbHeaderNameBuilder();
/**
- * Indicates if there are multiple documents to update. If set to true,
- * the body of the message must be a Collection of documents to update.
+ * Whether UPDATE_DOCUMENT updates several documents. If true, the body
+ * must be a Collection of documents that each have their _key, and the
+ * CamelArangoDbKey header is not used.
*
* The option is a: {@code java.lang.Boolean} type.
*
@@ -422,8 +441,9 @@ public interface ArangoDbEndpointBuilderFactory {
return "CamelArangoDbMultiUpdate";
}
/**
- * Indicates if there are multiple documents to insert. If set to true,
- * the body of the message must be a Collection of documents to insert.
+ * Whether SAVE_DOCUMENT saves several documents. If true, the body
must
+ * be a Collection of documents. A Collection body is saved as several
+ * documents even when this header is not set.
*
* The option is a: {@code java.lang.Boolean} type.
*
@@ -436,9 +456,9 @@ public interface ArangoDbEndpointBuilderFactory {
return "CamelArangoDbMultiInsert";
}
/**
- * Indicates if there are multiple documents to delete. If set to true,
- * the body of the message must be a Collection of key of documents to
- * delete.
+ * Whether DELETE_DOCUMENT deletes several documents. If true, the body
+ * must be a Collection of the keys of the documents. If false, the
body
+ * is the key of one document.
*
* The option is a: {@code java.lang.Boolean} type.
*
@@ -451,7 +471,9 @@ public interface ArangoDbEndpointBuilderFactory {
return "CamelArangoDbMultiDelete";
}
/**
- * The Arango key to use for the operation.
+ * The key, as a String, of the document, vertex or edge that
+ * UPDATE_DOCUMENT, UPDATE_VERTEX and UPDATE_EDGE update. The find and
+ * delete operations take the key from the body instead.
*
* The option is a: {@code java.lang.String} type.
*
@@ -463,7 +485,10 @@ public interface ArangoDbEndpointBuilderFactory {
return "CamelArangoDbKey";
}
/**
- * The type of the result of the operation.
+ * The java.lang.Class that FIND_DOCUMENT_BY_KEY, FIND_VERTEX_BY_KEY,
+ * FIND_EDGE_BY_KEY and AQL_QUERY convert each result to. A class name
+ * as text is not accepted. If not set, BaseEdgeDocument is used for
+ * FIND_EDGE_BY_KEY and BaseDocument for the other operations.
*
* The option is a: {@code java.lang.Class} type.
*
@@ -476,7 +501,7 @@ public interface ArangoDbEndpointBuilderFactory {
return "CamelArangoDbResultClassType";
}
/**
- * The AQL query to execute.
+ * The AQL query that AQL_QUERY runs. If not set, the body is the
query.
*
* The option is a: {@code java.lang.String} type.
*
@@ -488,7 +513,9 @@ public interface ArangoDbEndpointBuilderFactory {
return "CamelArangoDbAqlQuery";
}
/**
- * The key/value pairs defining the variables to bind the query to.
+ * The bind parameters of the AQL query of AQL_QUERY, as a Map from the
+ * name of each bind parameter to its value, for example foo for foo in
+ * the query.
*
* The option is a: {@code java.util.Map} type.
*
@@ -500,7 +527,9 @@ public interface ArangoDbEndpointBuilderFactory {
return "CamelArangoDbAqlParameters";
}
/**
- * The additional options that will be passed to the query API.
+ * The com.arangodb.model.AqlQueryOptions of the AQL query of
AQL_QUERY,
+ * such as its batch size. If not set, the query runs with the default
+ * options.
*
* The option is a: {@code com.arangodb.model.AqlQueryOptions} type.
*
diff --git a/tasks/component-descriptions.md b/tasks/component-descriptions.md
index dfe120079a2f..a3ec323d0151 100644
--- a/tasks/component-descriptions.md
+++ b/tasks/component-descriptions.md
@@ -68,7 +68,7 @@ or removes its row.
| camel-alibaba-sms | alibaba-sms | yes |
| camel-amqp | amqp | |
| camel-apicurio-registry | apicurio-registry | |
-| camel-arangodb | arangodb | |
+| camel-arangodb | arangodb | yes |
| camel-as2 | as2 | |
| camel-asterisk | asterisk | yes |
| camel-atmosphere-websocket | atmosphere-websocket | |