Esempio n. 1
0
        public void OpenChannels(ChannelGraph graph)
        {
            var nodes = graph.NodesForProtocol(Protocol).ToArray();

            if (Disabled(nodes)) return;

            nodes.OrderByDescending(x => x.Incoming).Each(x => x.Channel = buildChannel(x));
            seedQueues(nodes);

            graph.AddReplyChannel(Protocol, getReplyUri(graph));
        }
Esempio n. 2
0
        public void OpenChannels(ChannelGraph graph)
        {
            var nodes = graph.NodesForProtocol(Protocol).ToArray();

            if (Disabled(nodes))
            {
                return;
            }

            nodes.OrderByDescending(x => x.Incoming).Each(x => x.Channel = buildChannel(x));
            seedQueues(nodes);

            graph.AddReplyChannel(Protocol, getReplyUri(graph));
        }