protected EndpointConfiguration(IEndpointConfiguration parentConfiguration, ITopologyConfiguration topology, IConsumePipe consumePipe = null) { Topology = topology; Consume = new ConsumePipeConfiguration(parentConfiguration.Consume.Specification, consumePipe); Send = new SendPipeConfiguration(parentConfiguration.Send.Specification); Publish = new PublishPipeConfiguration(parentConfiguration.Publish.Specification); }
public EndpointConfiguration(ITopologyConfiguration topology, IConsumePipe consumePipe = null) { Topology = topology; Consume = new ConsumePipeConfiguration(consumePipe); Send = new SendPipeConfiguration(topology.Send); Publish = new PublishPipeConfiguration(topology.Publish); }