Class TransactionOptions
- Namespace
- Excalibur.Dispatch.Options.Middleware
- Assembly
- Excalibur.Dispatch.dll
Configuration options for transaction middleware.
public sealed class TransactionOptions
- Inheritance
-
TransactionOptions
- Inherited Members
- Extension Methods
Properties
BypassTransactionForTypes
Gets or sets message types that bypass transaction management.
public string[]? BypassTransactionForTypes { get; set; }
Property Value
- string[]
The current BypassTransactionForTypes value.
DefaultIsolationLevel
Gets or sets the default transaction isolation level.
public IsolationLevel DefaultIsolationLevel { get; set; }
Property Value
- IsolationLevel
Default is ReadCommitted.
DefaultTimeout
Gets or sets the default transaction timeout.
public TimeSpan DefaultTimeout { get; set; }
Property Value
- TimeSpan
Default is 30 seconds.
EnableDistributedTransactions
Gets or sets a value indicating whether to enable distributed transactions.
public bool EnableDistributedTransactions { get; set; }
Property Value
- bool
Default is false.
Enabled
Gets or sets a value indicating whether transaction management is enabled.
public bool Enabled { get; set; }
Property Value
- bool
Default is true.
RequireTransactionByDefault
Gets or sets a value indicating whether to require transactions by default for Action messages.
public bool RequireTransactionByDefault { get; set; }
Property Value
- bool
Default is true.