ArangoDb
Store, find, update and delete documents, vertices and edges in an ArangoDB database, and run AQL queries.
What’s inside
-
ArangoDb component, URI syntax:
arangodb:database
Please refer to the above links for usage and configuration details.
Maven coordinates
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-arangodb-starter</artifactId>
</dependency> Spring Boot Auto-Configuration
The starter supports 15 options, which are listed below.
| Name | Description | Default | Type |
|---|---|---|---|
camel.component.arangodb.arango-d-b | 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, and the endpoints do not shut the client down. The option is a com.arangodb.ArangoDB type. | ArangoDB | |
camel.component.arangodb.autowired-enabled | 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 type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | Boolean |
camel.component.arangodb.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 org.apache.camel.component.arangodb.ArangoDbConfiguration type. | ArangoDbConfiguration | |
camel.component.arangodb.document-collection | 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. | String | |
camel.component.arangodb.edge-collection | 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. | String | |
camel.component.arangodb.enabled | Whether to enable auto configuration of the arangodb component. This is enabled by default. | Boolean | |
camel.component.arangodb.graph | 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. | String | |
camel.component.arangodb.host | 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. | String | |
camel.component.arangodb.lazy-start-producer | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | Boolean |
camel.component.arangodb.operation | 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. | ArangoDbOperation | |
camel.component.arangodb.password | 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. | String | |
camel.component.arangodb.port | 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. | Integer | |
camel.component.arangodb.user | 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. | String | |
camel.component.arangodb.vertex-collection | 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. | String | |
camel.component.arangodb.vertx | 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 io.vertx.core.Vertx type. | Vertx |