public InputMessageChannel(IMessagePipeLine messagePipeLine, IMessageHandlerFactory factory) { Guard.NotNull(factory, nameof(factory)); Guard.NotNull(messagePipeLine, nameof(messagePipeLine)); this.messagePipeLine = messagePipeLine; this.factory = factory; }
public MessageRouter(IMessagePipeLine messagePipeLine, ICollection <IOutputMessageChannelDefinition> channels) { Guard.NotNull(channels, nameof(channels)); Guard.NotNull(messagePipeLine, nameof(messagePipeLine)); this.messagePipeLine = messagePipeLine; this.channels = channels; }