Beispiel #1
0
 public void Dispose()
 {
     if (consumerErrorStrategy != null)
     {
         consumerErrorStrategy.Dispose();
     }
 }
 public void Dispose()
 {
     if (disposed)
     {
         return;
     }
     consumerErrorStrategy.Dispose();
     sharedQueue.Close();
     disposed = true;
 }
Beispiel #3
0
        protected virtual void Dispose(bool disposing)
        {
            if (!disposing)
            {
                return;
            }

            if (consumerErrorStrategy != null)
            {
                consumerErrorStrategy.Dispose();
            }
        }
        public void Dispose()
        {
            if (disposed)
            {
                return;
            }
            consumerErrorStrategy.Dispose();
            queue.CompleteAdding();

            foreach (var subscriptionInfo in subscriptions)
            {
                subscriptionInfo.Value.Channel.Close();
            }

            disposed = true;
        }
Beispiel #5
0
 /// <inheritdoc />
 public void Dispose()
 {
     consumerErrorStrategy.Dispose();
 }