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 TypeMethodDescriptionint
Get the Http Client Pool size]int
Get the LLR Commit Record Delete Time IntervalGet the Default Resource Manager Idint
Get the Xa webLogic Namespaceboolean
Get the current propagation flagboolean
Get the isXALlrSupport Flagboolean
Get the Xa lrc Support flagboolean
Get the flag for the Xa promotable Featureboolean
Get the Xa Oracle Rac Database Support flag.boolean
Get the weblogic Transaction Support Flagboolean
Get the Xa Support boolean flagvoid
setCoordinatorUrl
(String coordinatorUrl) void
setHttpClientConnectionPoolSize
(int httpClientConnectionPoolSize) Set the Http client pool sizevoid
setParticipantUrl
(String participantUrl) ] Set the String participant Urlvoid
setPropagationActive
(boolean propagationActive) set the propagation flagvoid
setXaLlrDeleteCommitRecordInterval
(int xaLlrDeleteCommitRecordInterval) Set the LLR Commit Record Delete Time Intervalvoid
setXaLlrSupport
(boolean xaLlrSupport) Set the XaLlrSupportvoid
setXaLrcSupport
(boolean xaLrcSupport) Set the Xa Lrc Support Flagvoid
setXaPromotableActive
(boolean xaPromotableActive) Get the flag for the Xa promotable Featurevoid
setXaRacActive
(boolean xaRacActive) Set the Xa Oracle Rac Database Support flag.void
setXaResourceManagerId
(String xaResourceManagerId) Set the Default Resource Manager Idvoid
setXaTransactionTimeout
(int xaTxnTimeout) Set the Xa Timeoutvoid
setXaWeblogicNamespace
(String xaWeblogicNamespace) Set the Xa webLogic Namespacevoid
setXaWeblogicTransactionSupport
(boolean xaWeblogicTransactionSupport) Get the weblogic Transaction Support Flagvoid
setXaXaSupport
(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(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(int httpClientConnectionPoolSize) Set the Http client pool size- Parameters:
httpClientConnectionPoolSize
-
-
getXaTransactionTimeout
public int getXaTransactionTimeout()- Returns:
- int
-
setXaTransactionTimeout
public void setXaTransactionTimeout(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(boolean xaXaSupport) Set the Xa Support flag- Parameters:
xaXaSupport
-
-
isXaLlrSupport
public boolean isXaLlrSupport()Get the isXALlrSupport Flag- Returns:
-
setXaLlrSupport
public void setXaLlrSupport(boolean xaLlrSupport) Set the XaLlrSupport- Parameters:
xaLlrSupport
-
-
isXaLrcSupport
public boolean isXaLrcSupport()Get the Xa lrc Support flag- Returns:
-
setXaLrcSupport
public void setXaLrcSupport(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(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(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(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(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
-
-