SubQueue GetSubQueue(Message peeked) { if (peeked.Label.EndsWith("sq", StringComparison.OrdinalIgnoreCase)) { return(_cache.Open(testQueueFormatName + ";sq", QueueAccessMode.Move)); } if (peeked.Label.EndsWith("1", StringComparison.OrdinalIgnoreCase)) { return(_cache.Open(testQueueFormatName + ";one", QueueAccessMode.Move)); } if (peeked.Label.EndsWith("2", StringComparison.OrdinalIgnoreCase)) { return(_cache.Open(testQueueFormatName + ";two", QueueAccessMode.Move)); } return(null); }