public Sender( IQueueEndpointProvider queueEndpointProvider, RabbitMqFactory rabbitMqFactory, ChannelConfigurator channelConfiguratior) : this(queueEndpointProvider, rabbitMqFactory, channelConfiguratior, RabbitMqLogger.NullLogger) { }
public NoneBlockingReceiver( IQueueEndpointProvider queueEndpointProvider, RabbitMqFactory rabbitMqFactory, ChannelConfigurator channelConfigurator, IErrorHandler errorHandler) : this(queueEndpointProvider, rabbitMqFactory, channelConfigurator, errorHandler, RabbitMqLogger.NullLogger) { }
public ReceiveListener( IQueueEndpointProvider queueEndpointProvider, RabbitMqFactory rabbitMqFactory, ChannelConfigurator channelConfigurator, IErrorHandler errorHandler, RabbitMqLogger logger) : base(queueEndpointProvider, rabbitMqFactory, channelConfigurator, errorHandler, logger) { }
public NoneBlockingReceiver( IQueueEndpointProvider queueEndpointProvider, RabbitMqFactory rabbitMqFactory, ChannelConfigurator channelConfigurator, IErrorHandler errorHandler, RabbitMqLogger logger) : base(queueEndpointProvider, rabbitMqFactory, channelConfigurator, errorHandler, logger) { _logger = logger; }
public ErrorHandler( IQueueEndpointProvider queueEndpointProvider, RabbitMqFactory rabbitMqFactory, ChannelConfigurator channelConfiguratior, RabbitMqLogger logger) { _queueEndpointProvider = queueEndpointProvider; _rabbitMqFactory = rabbitMqFactory; _channelConfiguratior = channelConfiguratior; _logger = logger; }
protected Receiver( IQueueEndpointProvider queueEndpointProvider, RabbitMqFactory rabbitMqFactory, ChannelConfigurator channelConfigurator, IErrorHandler errorHandler, RabbitMqLogger logger) { QueueEndpointProvider = queueEndpointProvider; RabbitMqFactory = rabbitMqFactory; ChannelConfigurator = channelConfigurator; ErrorHandler = errorHandler; Logger = logger; }
protected void SetupQueueEndpointProvider(string endpointName, string virtualHost, string queueName) { SetupEndpoint(endpointName, virtualHost, queueName); QueueEndpointProvider = MockRepository.GenerateStub<IQueueEndpointProvider>(); QueueEndpointProvider .Stub(x => x.GetEndpointByName(endpointName)) .Return(QueueEndpoint); QueueEndpointProvider .Stub(x => x.GetHostName()) .Return(HostName); }