Interface Neo4jComponentBuilderFactory.Neo4jComponentBuilder

All Superinterfaces:
ComponentBuilder<org.apache.camel.component.neo4j.Neo4jComponent>
All Known Implementing Classes:
Neo4jComponentBuilderFactory.Neo4jComponentBuilderImpl
Enclosing interface:
Neo4jComponentBuilderFactory

public static interface Neo4jComponentBuilderFactory.Neo4jComponentBuilder extends ComponentBuilder<org.apache.camel.component.neo4j.Neo4jComponent>
Builder for the Neo4j component.
  • Method Details

    • alias

      Node alias. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      alias - the value to set
      Returns:
      the dsl builder
    • configuration

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder configuration(org.apache.camel.component.neo4j.Neo4jConfiguration configuration)
      The configuration;. The option is a: <code>org.apache.camel.component.neo4j.Neo4jConfiguration</code> type. Group: producer
      Parameters:
      configuration - the value to set
      Returns:
      the dsl builder
    • databaseUrl

      Url for connecting to Neo database. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      databaseUrl - the value to set
      Returns:
      the dsl builder
    • detachRelationship

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder detachRelationship(boolean detachRelationship)
      Detach a relationship - set true if want to delete a node and detach its relationships to other nodes at same time. The option is a: <code>boolean</code> type. Default: false Group: producer
      Parameters:
      detachRelationship - the value to set
      Returns:
      the dsl builder
    • dimension

      Dimension of Vector Index. The option is a: <code>java.lang.Integer</code> type. Group: producer
      Parameters:
      dimension - the value to set
      Returns:
      the dsl builder
    • label

      Node Label. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      label - the value to set
      Returns:
      the dsl builder
    • lazyStartProducer

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder 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
    • maxResults

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder maxResults(int maxResults)
      Maximum results for Vector Similarity search. The option is a: <code>int</code> type. Default: 3 Group: producer
      Parameters:
      maxResults - the value to set
      Returns:
      the dsl builder
    • minScore

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder minScore(double minScore)
      Minimum score for Vector Similarity search. The option is a: <code>double</code> type. Group: producer
      Parameters:
      minScore - the value to set
      Returns:
      the dsl builder
    • query

      Cypher Query. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      query - the value to set
      Returns:
      the dsl builder
    • similarityFunction

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder similarityFunction(org.apache.camel.component.neo4j.Neo4jSimilarityFunction similarityFunction)
      Similarity Function of Vector Index. The option is a: <code>org.apache.camel.component.neo4j.Neo4jSimilarityFunction</code> type. Default: cosine Group: producer
      Parameters:
      similarityFunction - the value to set
      Returns:
      the dsl builder
    • vectorIndexName

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder vectorIndexName(String vectorIndexName)
      Vector Index Name. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      vectorIndexName - the value to set
      Returns:
      the dsl builder
    • autowiredEnabled

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder 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
    • driver

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder driver(org.neo4j.driver.Driver driver)
      Advanced - Driver. The option is a: <code>org.neo4j.driver.Driver</code> type. Group: advanced
      Parameters:
      driver - the value to set
      Returns:
      the dsl builder
    • kerberosAuthTicket

      default Neo4jComponentBuilderFactory.Neo4jComponentBuilder kerberosAuthTicket(String kerberosAuthTicket)
      Kerberos Authentication encoded base64 ticket. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      kerberosAuthTicket - the value to set
      Returns:
      the dsl builder
    • password

      Basic authentication database password. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      password - the value to set
      Returns:
      the dsl builder
    • realm

      Basic authentication database realm. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      realm - the value to set
      Returns:
      the dsl builder
    • token

      Bearer authentication database realm. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      token - the value to set
      Returns:
      the dsl builder
    • username

      Basic authentication database user. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      username - the value to set
      Returns:
      the dsl builder