Пример #1
0
 /// <inheritdoc />
 protected override System.Messaging.MessageQueue GetQueue(AccessMode accessMode)
 {
     return(MessageQueueManager.Get(".", Name, Private, accessMode == AccessMode.Receive ? QueueAccessMode.Receive : accessMode == AccessMode.Send ? QueueAccessMode.Send : QueueAccessMode.SendAndReceive));
 }
Пример #2
0
        /// <inheritdoc />
        public void Delete()
        {
            MessageQueueManager.Delete(Name, Private);

            Logger.Debug("Queue deleted {Name} {Private}", Name, Private);
        }
Пример #3
0
 /// <inheritdoc />
 public bool Exists()
 {
     return(MessageQueueManager.Exists(Name, Private));
 }
Пример #4
0
        /// <inheritdoc />
        public void Create()
        {
            MessageQueueManager.Create(Name, Private, Transactional);

            Logger.Debug("Queue created {Name} {Private} {Transactional}", Name, Private, Transactional);
        }