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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMicroprofileLRALocalContainerInfraService(String imageName) MicroprofileLRALocalContainerInfraService(org.testcontainers.containers.GenericContainer container) -
Method Summary
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.ContainerService
followLogMethods inherited from interface org.apache.camel.test.infra.common.services.InfrastructureService
closeMethods inherited from interface org.apache.camel.test.infra.microprofile.lra.services.MicroprofileLRAInfraService
getServiceAddress
-
Field Details
-
CONTAINER_NAME
- See Also:
-
-
Constructor Details
-
MicroprofileLRALocalContainerInfraService
public MicroprofileLRALocalContainerInfraService() -
MicroprofileLRALocalContainerInfraService
-
MicroprofileLRALocalContainerInfraService
public MicroprofileLRALocalContainerInfraService(org.testcontainers.containers.GenericContainer container)
-
-
Method Details
-
initContainer
-
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
-
getContainer
public org.testcontainers.containers.GenericContainer getContainer()- Specified by:
getContainerin interfaceorg.apache.camel.test.infra.common.services.ContainerService<org.testcontainers.containers.GenericContainer>
-
host
- Specified by:
hostin interfaceMicroprofileLRAInfraService
-
port
public int port()- Specified by:
portin interfaceMicroprofileLRAInfraService
-
callbackHost
- Specified by:
callbackHostin interfaceMicroprofileLRAInfraService
-