public MessageQueueTransactionType GetSingleTransactionType() { if (parent != null) { return(parent.GetSingleTransactionType()); } return(transactional ? MessageQueueTransactionType.Single : MessageQueueTransactionType.None); }
public void SendToErrorQueue(OpenedQueue queue, Message message) { using (var errQueue = new MessageQueue(GetErrorsQueuePath())) { // here we assume that the queue transactionalibilty is the same for the error sibling queue // and the main queue! errQueue.Send(message, queue.GetSingleTransactionType()); } }
public void SendToErrorQueue(OpenedQueue queue, Message message) { using(var errQueue = new MessageQueue(GetErrorsQueuePath())) { // here we assume that the queue transactionalibilty is the same for the error sibling queue // and the main queue! errQueue.Send(message, queue.GetSingleTransactionType()); } }