Interface TransactionManagerConfiguration


@ConfigRoot(phase=RUN_TIME) @ConfigMapping(prefix="quarkus.transaction-manager") public interface TransactionManagerConfiguration
  • Method Details

    • nodeName

      @WithDefault("quarkus") String 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 to true, 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

      @WithDefault("60") Duration defaultTransactionTimeout()
      The default transaction timeout.
    • enableRecovery

      @ConfigDocDefault("`true` if XA datasources are configured, `false` otherwise") Optional<Boolean> enableRecovery()
      Start the recovery service on startup.

      If not set, the recovery service will be started automatically if XA datasources are configured. Set to true to always enable recovery, or false to explicitly disable it.

    • 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

      The object store configuration.