public override ISubscribableChannel CreateInput(string name)
        {
            var chan = new DirectWithAttributesChannel(ApplicationContext);

            chan.ServiceName = name;
            chan.SetAttribute("type", "input");
            _messageChannelConfigurer.ConfigureInputChannel(chan, name);

            AddChannelInterceptors(chan);

            ApplicationContext.Register(name, chan);

            return(chan);
        }
        public override ISubscribableChannel CreateInput(string name)
        {
            var chan = new DirectWithAttributesChannel(_serviceProvider);

            chan.Name = name;
            chan.SetAttribute("type", "input");
            _messageChannelConfigurer.ConfigureInputChannel(chan, name);

            AddChannelInterceptors(chan);

            if (_registry.Value != null)
            {
                _registry.Value.Register(name, chan);
            }

            return(chan);
        }