Package com.oracle.microtx.springboot
Class MicroTxConfigProperties
java.lang.Object
com.oracle.microtx.springboot.MicroTxConfigProperties
MicroTxConfigProperties - reads configuration parameters set in application yaml under spring:microtx
spring.microtx.coordinator-url (transaction coordinator url)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the Http Client Pool size]intGet the LLR Commit Record Delete Time IntervalGet the Default Resource Manager IdintGet the Xa webLogic NamespacebooleanGet the current propagation flagbooleanGet the isXALlrSupport FlagbooleanGet the Xa lrc Support flagbooleanGet the flag for the Xa promotable FeaturebooleanGet the Xa Oracle Rac Database Support flag.booleanGet the weblogic Transaction Support FlagbooleanGet the Xa Support boolean flagvoidsetCoordinatorUrl<wbr>(String coordinatorUrl)voidsetHttpClientConnectionPoolSize<wbr>(int httpClientConnectionPoolSize)Set the Http client pool sizevoidsetParticipantUrl<wbr>(String participantUrl)] Set the String participant UrlvoidsetPropagationActive<wbr>(boolean propagationActive)set the propagation flagvoidsetXaLlrDeleteCommitRecordInterval<wbr>(int xaLlrDeleteCommitRecordInterval)Set the LLR Commit Record Delete Time IntervalvoidsetXaLlrSupport<wbr>(boolean xaLlrSupport)Set the XaLlrSupportvoidsetXaLrcSupport<wbr>(boolean xaLrcSupport)Set the Xa Lrc Support FlagvoidsetXaPromotableActive<wbr>(boolean xaPromotableActive)Get the flag for the Xa promotable FeaturevoidsetXaRacActive<wbr>(boolean xaRacActive)Set the Xa Oracle Rac Database Support flag.voidsetXaResourceManagerId<wbr>(String xaResourceManagerId)Set the Default Resource Manager IdvoidsetXaTransactionTimeout<wbr>(int xaTxnTimeout)Set the Xa TimeoutvoidsetXaWeblogicNamespace<wbr>(String xaWeblogicNamespace)Set the Xa webLogic NamespacevoidsetXaWeblogicTransactionSupport<wbr>(boolean xaWeblogicTransactionSupport)Get the weblogic Transaction Support FlagvoidsetXaXaSupport<wbr>(boolean xaXaSupport)Set the Xa Support flag
-
Constructor Details
-
MicroTxConfigProperties
public MicroTxConfigProperties()
-
-
Method Details
-
getCoordinatorUrl
- Returns:
- coordinatorUrl String
-
setCoordinatorUrl
- Parameters:
coordinatorUrl-
-
isPropagationActive
public boolean isPropagationActive()Get the current propagation flag- Returns:
- boolean
-
setPropagationActive
public void setPropagationActive<wbr>(boolean propagationActive)set the propagation flag- Parameters:
propagationActive-
-
getParticipantUrl
]- Returns:
- participant URL
-
setParticipantUrl
] Set the String participant Url- Parameters:
participantUrl-
-
getHttpClientConnectionPoolSize
public int getHttpClientConnectionPoolSize()Get the Http Client Pool size- Returns:
-
setHttpClientConnectionPoolSize
public void setHttpClientConnectionPoolSize<wbr>(int httpClientConnectionPoolSize)Set the Http client pool size- Parameters:
httpClientConnectionPoolSize-
-
getXaTransactionTimeout
public int getXaTransactionTimeout()- Returns:
- int
-
setXaTransactionTimeout
public void setXaTransactionTimeout<wbr>(int xaTxnTimeout)Set the Xa Timeout- Parameters:
xaTxnTimeout-
-
getXaResourceManagerId
Get the Default Resource Manager Id- Returns:
-
setXaResourceManagerId
Set the Default Resource Manager Id- Parameters:
xaResourceManagerId-
-
isXaXaSupport
public boolean isXaXaSupport()Get the Xa Support boolean flag- Returns:
- Boolean
-
setXaXaSupport
public void setXaXaSupport<wbr>(boolean xaXaSupport)Set the Xa Support flag- Parameters:
xaXaSupport-
-
isXaLlrSupport
public boolean isXaLlrSupport()Get the isXALlrSupport Flag- Returns:
-
setXaLlrSupport
public void setXaLlrSupport<wbr>(boolean xaLlrSupport)Set the XaLlrSupport- Parameters:
xaLlrSupport-
-
isXaLrcSupport
public boolean isXaLrcSupport()Get the Xa lrc Support flag- Returns:
-
setXaLrcSupport
public void setXaLrcSupport<wbr>(boolean xaLrcSupport)Set the Xa Lrc Support Flag- Parameters:
xaLrcSupport-
-
getXaLlrDeleteCommitRecordInterval
public int getXaLlrDeleteCommitRecordInterval()Get the LLR Commit Record Delete Time Interval- Returns:
- int
-
setXaLlrDeleteCommitRecordInterval
public void setXaLlrDeleteCommitRecordInterval<wbr>(int xaLlrDeleteCommitRecordInterval)Set the LLR Commit Record Delete Time Interval- Parameters:
xaLlrDeleteCommitRecordInterval-
-
isXaPromotableActive
public boolean isXaPromotableActive()Get the flag for the Xa promotable Feature- Returns:
-
setXaPromotableActive
public void setXaPromotableActive<wbr>(boolean xaPromotableActive)Get the flag for the Xa promotable Feature- Parameters:
xaPromotableActive-
-
isXaRacActive
public boolean isXaRacActive()Get the Xa Oracle Rac Database Support flag.- Returns:
-
setXaRacActive
public void setXaRacActive<wbr>(boolean xaRacActive)Set the Xa Oracle Rac Database Support flag.- Parameters:
xaRacActive-
-
isXaWeblogicTransactionSupport
public boolean isXaWeblogicTransactionSupport()Get the weblogic Transaction Support Flag- Returns:
-
setXaWeblogicTransactionSupport
public void setXaWeblogicTransactionSupport<wbr>(boolean xaWeblogicTransactionSupport)Get the weblogic Transaction Support Flag- Parameters:
xaWeblogicTransactionSupport-
-
getXaWeblogicNamespace
Get the Xa webLogic Namespace- Returns:
- String
-
setXaWeblogicNamespace
Set the Xa webLogic Namespace- Parameters:
xaWeblogicNamespace-
-