private static Message GetMessageFromQueue() { var queueManager = new QueueManager(); return queueManager.Receive(); }
private static void WriteMessageToQueue(QueueMessage queueMessage) { var queueManager = new QueueManager(); queueManager.Send(queueMessage); }