public SubscribableChannelBindingTargetFactory(IApplicationContext context, CompositeMessageChannelConfigurer messageChannelConfigurer) : base(context) { _messageChannelConfigurer = messageChannelConfigurer; _registry = new Lazy <IDestinationRegistry>(() => (IDestinationRegistry)context.GetService(typeof(IDestinationRegistry))); }
public SubscribableChannelBindingTargetFactory(IServiceProvider serviceProvider, CompositeMessageChannelConfigurer messageChannelConfigurer) : base(serviceProvider) { _messageChannelConfigurer = messageChannelConfigurer; _registry = new Lazy <IDestinationRegistry>(() => (IDestinationRegistry)serviceProvider.GetService(typeof(IDestinationRegistry))); }
public SubscribableChannelBindingTargetFactory(IApplicationContext context, CompositeMessageChannelConfigurer messageChannelConfigurer) : base(context) { _messageChannelConfigurer = messageChannelConfigurer; }