public ProcessWithTransactionScope(TransactionOptions transactionOptions, SqlConnectionFactory connectionFactory, FailureInfoStorage failureInfoStorage)
 {
     this.transactionOptions = transactionOptions;
     this.connectionFactory  = connectionFactory;
     this.failureInfoStorage = failureInfoStorage;
 }
Ejemplo n.º 2
0
        public ProcessWithNativeTransaction(TransactionOptions transactionOptions, SqlConnectionFactory connectionFactory, FailureInfoStorage failureInfoStorage, TableBasedQueueCache tableBasedQueueCache, bool transactionForReceiveOnly = false)
            : base(tableBasedQueueCache)
        {
            this.connectionFactory         = connectionFactory;
            this.failureInfoStorage        = failureInfoStorage;
            this.transactionForReceiveOnly = transactionForReceiveOnly;

            isolationLevel = IsolationLevelMapper.Map(transactionOptions.IsolationLevel);
        }
 public LegacyReceiveWithTransactionScope(TransactionOptions transactionOptions, LegacySqlConnectionFactory connectionFactory, FailureInfoStorage failureInfoStorage)
 {
     this.transactionOptions = transactionOptions;
     this.connectionFactory  = connectionFactory;
     this.failureInfoStorage = failureInfoStorage;
 }
Ejemplo n.º 4
0
 public ProcessWithTransactionScope(TransactionOptions transactionOptions, SqlConnectionFactory connectionFactory, FailureInfoStorage failureInfoStorage, TableBasedQueueCache tableBasedQueueCache)
     : base(tableBasedQueueCache)
 {
     this.transactionOptions = transactionOptions;
     this.connectionFactory  = connectionFactory;
     this.failureInfoStorage = failureInfoStorage;
 }