public MessageDispatcher(QueueAddressTranslator addressTranslator, IMulticastToUnicastConverter multicastToUnicastConverter, TableBasedQueueCache tableBasedQueueCache, IDelayedMessageStore delayedMessageTable, SqlConnectionFactory connectionFactory)
 {
     this.addressTranslator           = addressTranslator;
     this.multicastToUnicastConverter = multicastToUnicastConverter;
     this.tableBasedQueueCache        = tableBasedQueueCache;
     this.delayedMessageTable         = delayedMessageTable;
     this.connectionFactory           = connectionFactory;
 }
 public ProcessWithTransactionScope(TransactionOptions transactionOptions, SqlConnectionFactory connectionFactory, FailureInfoStorage failureInfoStorage, TableBasedQueueCache tableBasedQueueCache)
     : base(tableBasedQueueCache)
 {
     this.transactionOptions = transactionOptions;
     this.connectionFactory  = connectionFactory;
     this.failureInfoStorage = failureInfoStorage;
 }
 public ProcessWithNoTransaction(SqlConnectionFactory connectionFactory, TableBasedQueueCache tableBasedQueueCache)
     : base(tableBasedQueueCache)
 {
     this.connectionFactory = connectionFactory;
 }
 protected ReceiveStrategy(TableBasedQueueCache tableBasedQueueCache)
 {
     this.tableBasedQueueCache = tableBasedQueueCache;
 }
        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);
        }
Beispiel #6
0
 protected ProcessStrategy(TableBasedQueueCache tableBasedQueueCache)
 {
     this.tableBasedQueueCache = tableBasedQueueCache;
     log = LogManager.GetLogger(GetType());
 }