Class MongoDBRemoteInfraService
java.lang.Object
org.apache.camel.test.infra.mongodb.services.MongoDBRemoteInfraService
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.test.infra.common.services.InfrastructureService,MongoDBInfraService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe connection address in the format host:portThe replica set URL in the format mongodb://host:portvoidvoidvoidshutdown()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.test.infra.common.services.InfrastructureService
close
-
Constructor Details
-
MongoDBRemoteInfraService
public MongoDBRemoteInfraService()
-
-
Method Details
-
getReplicaSetUrl
Description copied from interface:MongoDBInfraServiceThe replica set URL in the format mongodb://host:port- Specified by:
getReplicaSetUrlin interfaceMongoDBInfraService- Returns:
- the replica set URL
-
getConnectionAddress
Description copied from interface:MongoDBInfraServiceThe connection address in the format host:port- Specified by:
getConnectionAddressin interfaceMongoDBInfraService- Returns:
- the connection address
-
registerProperties
public void registerProperties()- Specified by:
registerPropertiesin interfaceorg.apache.camel.test.infra.common.services.InfrastructureService
-
initialize
public void initialize()- Specified by:
initializein interfaceorg.apache.camel.test.infra.common.services.InfrastructureService
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceorg.apache.camel.test.infra.common.services.InfrastructureService
-