Currently our Spring Boot Neo4J app connects via the values found in application.properties:
spring.data.neo4j.uri=bolt://neo4j:7687 spring.data.neo4j.username=neo4j spring.data.neo4j.password=secret
However, we would like this app to be able to connect to multiple Neo4J instances. When a request comes into our controller, we would peel off the spring.data.neo4j.* values and use those to create a dynamic connection instead of using what's in application.properties.
Does anyone have any ideas on how to implement this or some examples?