public BinderAwareChannelResolver( IOptionsMonitor <BindingServiceOptions> optionsMonitor, IDestinationRegistry destinationRegistry, IBindingService bindingService, SubscribableChannelBindingTargetFactory bindingTargetFactory, DynamicDestinationsBindable dynamicDestinationsBindable, INewDestinationBindingCallback callback) : base(destinationRegistry) { if (bindingService == null) { throw new ArgumentNullException(nameof(bindingService)); } if (bindingTargetFactory == null) { throw new ArgumentNullException(nameof(bindingTargetFactory)); } _dynamicDestinationsBindable = dynamicDestinationsBindable; _optionsMonitor = optionsMonitor; _bindingService = bindingService; _bindingTargetFactory = bindingTargetFactory; _newBindingCallback = callback; }
public BinderAwareChannelResolver( IOptionsMonitor <BindingServiceOptions> optionsMonitor, IDestinationRegistry destinationRegistry, IBindingService bindingService, SubscribableChannelBindingTargetFactory bindingTargetFactory, DynamicDestinationsBindable dynamicDestinationsBindable) : this(optionsMonitor, destinationRegistry, bindingService, bindingTargetFactory, dynamicDestinationsBindable, null) { }
public DefaultMessageChannelDestinationResolver(IDestinationRegistry registry) { if (registry == null) { throw new ArgumentNullException(nameof(registry)); } Registry = registry; }
protected AbstractMessageChannelBinder( IServiceProvider serviceProvider, string[] headersToEmbed, IProvisioningProvider provisioningProvider, IListenerContainerCustomizer containerCustomizer, IMessageSourceCustomizer sourceCustomizer) : base(serviceProvider) { _headersToEmbed = headersToEmbed ?? (new string[0]); _provisioningProvider = provisioningProvider; ListenerContainerCustomizer = containerCustomizer; MessageSourceCustomizer = sourceCustomizer; _destinationRegistry = ServiceProvider.GetService <IDestinationRegistry>(); }
public DefaultMessageChannelResolver(IDestinationRegistry destinationRegistry, IHeaderChannelRegistry registry = null) { _destinationRegistry = destinationRegistry ?? throw new ArgumentNullException(nameof(destinationRegistry)); _registry = registry; }