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

public class MongoDBRemoteInfraService extends Object implements MongoDBInfraService
  • Constructor Details

    • MongoDBRemoteInfraService

      public MongoDBRemoteInfraService()
  • Method Details

    • getReplicaSetUrl

      public String getReplicaSetUrl()
      Description copied from interface: MongoDBInfraService
      The replica set URL in the format mongodb://host:port
      Specified by:
      getReplicaSetUrl in interface MongoDBInfraService
      Returns:
      the replica set URL
    • getConnectionAddress

      public String getConnectionAddress()
      Description copied from interface: MongoDBInfraService
      The connection address in the format host:port
      Specified by:
      getConnectionAddress in interface MongoDBInfraService
      Returns:
      the connection address
    • registerProperties

      public void registerProperties()
      Specified by:
      registerProperties in interface org.apache.camel.test.infra.common.services.InfrastructureService
    • initialize

      public void initialize()
      Specified by:
      initialize in interface org.apache.camel.test.infra.common.services.InfrastructureService
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface org.apache.camel.test.infra.common.services.InfrastructureService