Package io.quarkus.narayana.jta.runtime
Interface TransactionManagerConfiguration
@ConfigRoot(phase=RUN_TIME)
@ConfigMapping(prefix="quarkus.transaction-manager")
public interface TransactionManagerConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionThe default transaction timeout.booleanStart the recovery service on startup.The list of expiry scanners.nodeName()The node name used by the transaction manager.The object store configuration.The list of recovery modules.booleanWhether the node name should be shortened if necessary.The list of orphan filters.
-
Method Details
-
nodeName
The node name used by the transaction manager. Must not exceed a length of 28 bytes.- See Also:
-
shortenNodeNameIfNecessary
@WithDefault("false") boolean shortenNodeNameIfNecessary()Whether the node name should be shortened if necessary. The node name must not exceed a length of 28 bytes. If this property is set totrue, and the node name exceeds 28 bytes, the node name is shortened by calculating the SHA-224 hash, which has a length of 28 bytes, encoded to Base64 format and then shortened to 28 bytes.- See Also:
-
defaultTransactionTimeout
The default transaction timeout. -
enableRecovery
@WithDefault("false") boolean enableRecovery()Start the recovery service on startup. -
recoveryModules
@WithDefault("com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule,com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule") List<String> recoveryModules()The list of recovery modules. -
expiryScanners
@WithDefault("com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner") List<String> expiryScanners()The list of expiry scanners. -
xaResourceOrphanFilters
@WithDefault("com.arjuna.ats.internal.jta.recovery.arjunacore.JTATransactionLogXAResourceOrphanFilter,com.arjuna.ats.internal.jta.recovery.arjunacore.JTANodeNameXAResourceOrphanFilter,com.arjuna.ats.internal.jta.recovery.arjunacore.JTAActionStatusServiceXAResourceOrphanFilter") List<String> xaResourceOrphanFilters()The list of orphan filters. -
objectStore
TransactionManagerConfiguration.ObjectStoreConfig objectStore()The object store configuration.
-