public RabbitMessageChannelBinder(IApplicationContext context, ILogger <RabbitMessageChannelBinder> logger, SteeltoeConnectionFactory connectionFactory, RabbitOptions rabbitOptions, RabbitBinderOptions binderOptions, RabbitBindingsOptions bindingsOptions, RabbitExchangeQueueProvisioner provisioningProvider, IListenerContainerCustomizer containerCustomizer, IMessageSourceCustomizer sourceCustomizer) : base(context, Array.Empty <string>(), provisioningProvider, containerCustomizer, sourceCustomizer, logger) { if (connectionFactory == null) { throw new ArgumentNullException(nameof(connectionFactory)); } if (rabbitOptions == null) { throw new ArgumentNullException(nameof(rabbitOptions)); } _logger = logger; ConnectionFactory = connectionFactory; RabbitConnectionOptions = rabbitOptions; BinderOptions = binderOptions; BindingsOptions = bindingsOptions; ServiceName = "rabbitBinder"; }
public RabbitTestBinder(IConnectionFactory connectionFactory, RabbitOptions rabbitOptions, RabbitBinderOptions binderOptions, RabbitBindingsOptions bindingsOptions, ILoggerFactory loggerFactory) : this(connectionFactory, new RabbitMessageChannelBinder(GetApplicationContext(), loggerFactory.CreateLogger <RabbitMessageChannelBinder>(), connectionFactory, rabbitOptions, binderOptions, bindingsOptions, new RabbitExchangeQueueProvisioner(connectionFactory, bindingsOptions, GetApplicationContext(), loggerFactory.CreateLogger <RabbitExchangeQueueProvisioner>())), loggerFactory.CreateLogger <RabbitTestBinder>()) { BindingsOptions = bindingsOptions; }
public RabbitMessageChannelBinder(IApplicationContext context, ILogger <RabbitMessageChannelBinder> logger, SteeltoeConnectionFactory connectionFactory, RabbitOptions rabbitOptions, RabbitBinderOptions binderOptions, RabbitBindingsOptions bindingsOptions, RabbitExchangeQueueProvisioner provisioningProvider, IListenerContainerCustomizer containerCustomizer) : this(context, logger, connectionFactory, rabbitOptions, binderOptions, bindingsOptions, provisioningProvider, containerCustomizer, null) { }