Neo4j

Perform operations on the Neo4j Graph Database

What’s inside

Please refer to the above links for usage and configuration details.

Maven coordinates

<dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-neo4j-starter</artifactId>
</dependency>

Spring Boot Auto-Configuration

The starter supports 20 options, which are listed below.

Name Description Default Type

camel.component.neo4j.alias

Node alias

String

camel.component.neo4j.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.neo4j.configuration

The configuration;. The option is a org.apache.camel.component.neo4j.Neo4jConfiguration type.

Neo4jConfiguration

camel.component.neo4j.database-url

Url for connecting to Neo database

String

camel.component.neo4j.detach-relationship

Detach a relationship - set true if you want to delete a node and detach its relationships to other nodes at same time

false

Boolean

camel.component.neo4j.dimension

Dimension of Vector Index

Integer

camel.component.neo4j.driver

Advanced - Driver. The option is a org.neo4j.driver.Driver type.

Driver

camel.component.neo4j.enabled

Whether to enable auto configuration of the neo4j component. This is enabled by default.

Boolean

camel.component.neo4j.kerberos-auth-ticket

Kerberos Authentication encoded base64 ticket

String

camel.component.neo4j.label

Node Label

String

camel.component.neo4j.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.neo4j.max-results

Maximum results for Vector Similarity search

3

Integer

camel.component.neo4j.min-score

Minimum score for Vector Similarity search

Double

camel.component.neo4j.password

Basic authentication database password

String

camel.component.neo4j.query

Cypher Query

String

camel.component.neo4j.realm

Basic authentication database realm

String

camel.component.neo4j.similarity-function

Similarity Function of Vector Index

cosine

Neo4jSimilarityFunction

camel.component.neo4j.token

Bearer authentication database realm

String

camel.component.neo4j.username

Basic authentication database user

String

camel.component.neo4j.vector-index-name

Vector Index Name

String