Class MicroprofileLRALocalContainerInfraService

java.lang.Object
org.apache.camel.test.infra.microprofile.lra.services.MicroprofileLRALocalContainerInfraService
All Implemented Interfaces:
AutoCloseable, org.apache.camel.test.infra.common.services.ContainerService<org.testcontainers.containers.GenericContainer>, org.apache.camel.test.infra.common.services.InfrastructureService, MicroprofileLRAInfraService

@InfraService(service=MicroprofileLRAInfraService.class, description="MicroProfile LRA provides a simple, loosely coupled transaction model for microservices that is based on the SAGA pattern for distributed transaction.", serviceAlias="microprofile", serviceImplementationAlias="lra") public class MicroprofileLRALocalContainerInfraService extends Object implements MicroprofileLRAInfraService, org.apache.camel.test.infra.common.services.ContainerService<org.testcontainers.containers.GenericContainer>
  • Field Details

  • Constructor Details

    • MicroprofileLRALocalContainerInfraService

      public MicroprofileLRALocalContainerInfraService()
    • MicroprofileLRALocalContainerInfraService

      public MicroprofileLRALocalContainerInfraService(String imageName)
    • MicroprofileLRALocalContainerInfraService

      public MicroprofileLRALocalContainerInfraService(org.testcontainers.containers.GenericContainer container)
  • Method Details

    • initContainer

      public org.testcontainers.containers.GenericContainer initContainer(String imageName, String networkAlias)
    • 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
    • getContainer

      public org.testcontainers.containers.GenericContainer getContainer()
      Specified by:
      getContainer in interface org.apache.camel.test.infra.common.services.ContainerService<org.testcontainers.containers.GenericContainer>
    • host

      public String host()
      Specified by:
      host in interface MicroprofileLRAInfraService
    • port

      public int port()
      Specified by:
      port in interface MicroprofileLRAInfraService
    • callbackHost

      public String callbackHost()
      Specified by:
      callbackHost in interface MicroprofileLRAInfraService