public NoTransactionReceiveStrategy(string connectionString, TableBasedQueue errorQueue, Func<TransportMessage, bool> tryProcessMessageCallback, ConnectionFactory sqlConnectionFactory)
 {
     this.connectionString = connectionString;
     this.errorQueue = errorQueue;
     this.tryProcessMessageCallback = tryProcessMessageCallback;
     this.sqlConnectionFactory = sqlConnectionFactory;
 }
 public ReceiveStrategyFactory(IConnectionStore connectionStore, LocalConnectionParams localConnectionParams, Address errorQueueAddress, ConnectionFactory sqlConnectionFactory)
 {
     this.connectionStore = connectionStore;
     this.errorQueueAddress = errorQueueAddress;
     this.localConnectionParams = localConnectionParams;
     this.sqlConnectionFactory = sqlConnectionFactory;
 }
 public SqlServerMessageSender(IConnectionStringProvider connectionStringProvider, IConnectionStore connectionStore, ICallbackAddressStore callbackAddressStore, ConnectionFactory sqlConnectionFactory)
 {
     this.connectionStringProvider = connectionStringProvider;
     this.connectionStore = connectionStore;
     this.callbackAddressStore = callbackAddressStore;
     this.sqlConnectionFactory = sqlConnectionFactory;
 }
 public NativeTransactionReceiveStrategy(string connectionString, TableBasedQueue errorQueue, Func<TransportMessage, bool> tryProcessMessageCallback, ConnectionFactory sqlConnectionFactory, IConnectionStore connectionStore, TransactionSettings transactionSettings)
 {
     this.tryProcessMessageCallback = tryProcessMessageCallback;
     this.errorQueue = errorQueue;
     this.connectionString = connectionString;
     this.sqlConnectionFactory = sqlConnectionFactory;
     this.connectionStore = connectionStore;
     isolationLevel = GetSqlIsolationLevel(transactionSettings.IsolationLevel);
 }
 public QueuePurger(SecondaryReceiveConfiguration secondaryReceiveConfiguration, LocalConnectionParams localConnectionParams, ConnectionFactory sqlConnectionFactory)
 {
     this.secondaryReceiveConfiguration = secondaryReceiveConfiguration;
     this.localConnectionParams = localConnectionParams;
     this.sqlConnectionFactory = sqlConnectionFactory;
 }
 public NativeTransactionReceiveStrategy(string connectionString, TableBasedQueue errorQueue, Func <TransportMessage, bool> tryProcessMessageCallback, ConnectionFactory sqlConnectionFactory, IConnectionStore connectionStore, TransactionSettings transactionSettings)
 {
     this.tryProcessMessageCallback = tryProcessMessageCallback;
     this.errorQueue           = errorQueue;
     this.connectionString     = connectionString;
     this.sqlConnectionFactory = sqlConnectionFactory;
     this.connectionStore      = connectionStore;
     isolationLevel            = GetSqlIsolationLevel(transactionSettings.IsolationLevel);
 }
 public SqlServerQueueCreator(IConnectionStringProvider connectionStringProvider, ConnectionFactory sqlConnectionFactory)
 {
     this.connectionStringProvider = connectionStringProvider;
     this.sqlConnectionFactory = sqlConnectionFactory;
 }
示例#8
0
 public SqlServerQueueCreator(IConnectionStringProvider connectionStringProvider, ConnectionFactory sqlConnectionFactory)
 {
     this.connectionStringProvider = connectionStringProvider;
     this.sqlConnectionFactory     = sqlConnectionFactory;
 }