Ejemplo n.º 1
0
 public void NodeName([SelectionList("Channels")] string name, string[] channels)
 {
     _registry = Context.State.Retrieve <ServiceBusNodes>().CreateNew(name);
     channels.Each(channelName =>
     {
         var prop = ServiceBusNodes.Channels.First(x => x.Name == name);
         _registry.AlterSettings <ChannelGraph>(graph =>
         {
             var channel      = graph.ChannelFor(new SingleProperty(prop));
             channel.Incoming = true;
         });
     });
 }
Ejemplo n.º 2
0
        public void Start(NodeRegistry current)
        {
            var runtime = current.ToRuntime();

            _runtimes[current.NodeName] = runtime;
        }