static DispatchConsistency GetDispatchConsistency(TransportTransactionMode transportTransactionMode) { // dispatch message isolated from existing transactions when not using DTC to avoid loosing timeout data when the transaction commit fails. return transportTransactionMode == TransportTransactionMode.TransactionScope ? DispatchConsistency.Default : DispatchConsistency.Isolated; }