public void CreateQueue(LightningUri uri)
 {
     _queueManagers[uri.Port].CreateQueues(uri.QueueName);
 }
 public static LightningQueuesChannel Build(LightningUri uri, IPersistentQueues queues, IDelayedMessageCache<MessageId> delayedMessages, bool incoming)
 {
     var queueManager = queues.ManagerFor(uri.Port, incoming);
     return new LightningQueuesChannel(uri.Address, uri.QueueName, queueManager, delayedMessages);
 }