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; }); }); }
public void Start(NodeRegistry current) { var runtime = current.ToRuntime(); _runtimes[current.NodeName] = runtime; }