Ejemplo n.º 1
0
        public MsmqMessageQueue(MsmqMessageQueueSettings settings)
        {
            _settings = settings;

            _settings.ReceiveTimeout     = _settings.ReceiveTimeout ?? _receiveTimeoutDefault;
            _settings.MessageOrder       = _settings.MessageOrder ?? _messageOrder;
            _settings.DequeueWorkerCount = _settings.DequeueWorkerCount ?? _dequeueWorkerCount;
        }
Ejemplo n.º 2
0
 public MsmqMessageQueue()
 {
     _settings = new MsmqMessageQueueSettings
     {
         TransactionType    = MsmqTransactionType.Internal,
         ReceiveTimeout     = _receiveTimeoutDefault,
         MessageOrder       = _messageOrder,
         DequeueWorkerCount = _dequeueWorkerCount
     };
 }