Class MicroTxLRAConfigProperties
java.lang.Object
com.oracle.microtx.springboot.lra.MicroTxLRAConfigProperties
@ConfigurationProperties("spring.microtx.lra")
public class MicroTxLRAConfigProperties
extends Object
The config file that takes the configuration data from the application yaml file under spring:microtx:lra .
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
void
setCoordinatorUrl
(String coordinatorUrl) void
setHeadersPropagationPrefix
(Set<String> headersPropagationPrefix) void
setLockFreeReservationActive
(boolean lockFreeReservationActive) void
setParticipantUrl
(String participantUrl) void
setPropagationActive
(boolean propagationActive) void
setRetryMaxAttempts
(int retryMaxAttempts) void
setRetryMaxDelay
(int retryMaxDelay)
-
Field Details
-
DEFAULT_RETRY_MAX_ATTEMPTS
public static final int DEFAULT_RETRY_MAX_ATTEMPTS- See Also:
-
DEFAULT_RETRY_MAX_DELAY
public static final int DEFAULT_RETRY_MAX_DELAY- See Also:
-
-
Constructor Details
-
MicroTxLRAConfigProperties
public MicroTxLRAConfigProperties()
-
-
Method Details
-
getCoordinatorUrl
-
setCoordinatorUrl
-
isPropagationActive
public boolean isPropagationActive() -
setPropagationActive
public void setPropagationActive(boolean propagationActive) -
getParticipantUrl
-
setParticipantUrl
-
getHeadersPropagationPrefix
-
setHeadersPropagationPrefix
-
getRetryMaxAttempts
public int getRetryMaxAttempts() -
setRetryMaxAttempts
public void setRetryMaxAttempts(int retryMaxAttempts) -
getRetryMaxDelay
public int getRetryMaxDelay() -
setRetryMaxDelay
public void setRetryMaxDelay(int retryMaxDelay) -
isLockFreeReservationActive
public boolean isLockFreeReservationActive() -
setLockFreeReservationActive
public void setLockFreeReservationActive(boolean lockFreeReservationActive)
-