Interface ArangodbComponentBuilderFactory.ArangodbComponentBuilder

All Superinterfaces:
ComponentBuilder<org.apache.camel.component.arangodb.ArangoDbComponent>
All Known Implementing Classes:
ArangodbComponentBuilderFactory.ArangodbComponentBuilderImpl
Enclosing interface:
ArangodbComponentBuilderFactory

public static interface ArangodbComponentBuilderFactory.ArangodbComponentBuilder extends ComponentBuilder<org.apache.camel.component.arangodb.ArangoDbComponent>
Builder for the ArangoDb component.
  • Method Details

    • configuration

      default ArangodbComponentBuilderFactory.ArangodbComponentBuilder configuration(org.apache.camel.component.arangodb.ArangoDbConfiguration configuration)
      Component configuration. The option is a: <code>org.apache.camel.component.arangodb.ArangoDbConfiguration</code> type. Group: producer
      Parameters:
      configuration - the value to set
      Returns:
      the dsl builder
    • documentCollection

      default ArangodbComponentBuilderFactory.ArangodbComponentBuilder documentCollection(String 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). The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      documentCollection - the value to set
      Returns:
      the dsl builder
    • edgeCollection

      default ArangodbComponentBuilderFactory.ArangodbComponentBuilder edgeCollection(String 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. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      edgeCollection - the value to set
      Returns:
      the dsl builder
    • graph

      Graph name, when using ArangoDb as a Graph Database. Combine this attribute with one of the two attributes vertexCollection and edgeCollection. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      graph - the value to set
      Returns:
      the dsl builder
    • host

      ArangoDB host. If host and port are default, this field is Optional. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      host - the value to set
      Returns:
      the dsl builder
    • lazyStartProducer

      default ArangodbComponentBuilderFactory.ArangodbComponentBuilder lazyStartProducer(boolean lazyStartProducer)
      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. The option is a: <code>boolean</code> type. Default: false Group: producer
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • operation

      default ArangodbComponentBuilderFactory.ArangodbComponentBuilder operation(org.apache.camel.component.arangodb.ArangoDbOperation operation)
      Operations to perform on ArangoDb. For the operation AQL_QUERY, no need to specify a collection or graph. The option is a: <code>org.apache.camel.component.arangodb.ArangoDbOperation</code> type. Group: producer
      Parameters:
      operation - the value to set
      Returns:
      the dsl builder
    • port

      ArangoDB exposed port. If host and port are default, this field is Optional. The option is a: <code>int</code> type. Group: producer
      Parameters:
      port - the value to set
      Returns:
      the dsl builder
    • vertexCollection

      default ArangodbComponentBuilderFactory.ArangodbComponentBuilder vertexCollection(String 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. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      vertexCollection - the value to set
      Returns:
      the dsl builder
    • arangoDB

      default ArangodbComponentBuilderFactory.ArangodbComponentBuilder arangoDB(com.arangodb.ArangoDB arangoDB)
      To use an existing ArangDB client. The option is a: <code>com.arangodb.ArangoDB</code> type. Group: advanced
      Parameters:
      arangoDB - the value to set
      Returns:
      the dsl builder
    • autowiredEnabled

      default ArangodbComponentBuilderFactory.ArangodbComponentBuilder autowiredEnabled(boolean autowiredEnabled)
      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. The option is a: <code>boolean</code> type. Default: true Group: advanced
      Parameters:
      autowiredEnabled - the value to set
      Returns:
      the dsl builder
    • password

      ArangoDB password. If user and password are default, this field is Optional. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      password - the value to set
      Returns:
      the dsl builder
    • user

      ArangoDB user. If user and password are default, this field is Optional. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      user - the value to set
      Returns:
      the dsl builder