protected EndpointConfiguration(ITopologyConfiguration topology) { Topology = topology; Consume = new ConsumePipeConfiguration(topology.Consume); Send = new SendPipeConfiguration(topology.Send); Publish = new PublishPipeConfiguration(topology.Publish); Receive = new ReceivePipeConfiguration(); Serialization = new SerializationConfiguration(); Transport = new TransportConfiguration(); }
protected EndpointConfiguration(IEndpointConfiguration parentConfiguration, ITopologyConfiguration topology) { Topology = topology; Consume = new ConsumePipeConfiguration(parentConfiguration.Consume.Specification); Send = new SendPipeConfiguration(parentConfiguration.Send.Specification); Publish = new PublishPipeConfiguration(parentConfiguration.Publish.Specification); Receive = new ReceivePipeConfiguration(); Serialization = parentConfiguration.Serialization.CreateSerializationConfiguration(); Transport = new TransportConfiguration(parentConfiguration.Transport); }