public override ISubscribableChannel CreateOutput(string name) { var chan = new DirectWithAttributesChannel(ApplicationContext); chan.ServiceName = name; chan.SetAttribute("type", "output"); _messageChannelConfigurer.ConfigureOutputChannel(chan, name); AddChannelInterceptors(chan); ApplicationContext.Register(name, chan); return(chan); }
public override ISubscribableChannel CreateOutput(string name) { var chan = new DirectWithAttributesChannel(_serviceProvider); chan.Name = name; chan.SetAttribute("type", "output"); _messageChannelConfigurer.ConfigureOutputChannel(chan, name); AddChannelInterceptors(chan); if (_registry.Value != null) { _registry.Value.Register(name, chan); } return(chan); }