Class OracleSessionlessTransactionHttpConfiguration
java.lang.Object
io.micronaut.transaction.jdbc.oracle.OracleSessionlessTransactionHttpConfiguration
@ConfigurationProperties("micronaut.data.oracle.sessionless.http")
public final class OracleSessionlessTransactionHttpConfiguration
extends Object
Configuration for HTTP propagation of Oracle sessionless transaction ids.
- Since:
- 5.2.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetHeaderName(String headerName) Sets the HTTP header that carries the encoded sessionless transaction id.voidsetPropagationEnabled(boolean propagationEnabled) Sets whether HTTP propagation of Oracle sessionless transaction ids is enabled.
-
Field Details
-
PREFIX
The configuration prefix for Oracle sessionless transaction HTTP propagation.- See Also:
-
DEFAULT_HEADER_NAME
The default HTTP header that carries the encoded sessionless transaction id.- See Also:
-
-
Constructor Details
-
OracleSessionlessTransactionHttpConfiguration
public OracleSessionlessTransactionHttpConfiguration()
-
-
Method Details
-
isPropagationEnabled
public boolean isPropagationEnabled()- Returns:
- Whether HTTP propagation of Oracle sessionless transaction ids is enabled.
-
setPropagationEnabled
public void setPropagationEnabled(boolean propagationEnabled) Sets whether HTTP propagation of Oracle sessionless transaction ids is enabled.- Parameters:
propagationEnabled- Whether HTTP propagation is enabled
-
getHeaderName
- Returns:
- The HTTP header that carries the encoded sessionless transaction id.
-
setHeaderName
Sets the HTTP header that carries the encoded sessionless transaction id.- Parameters:
headerName- The header name
-