protected EndpointConfiguration(ITopologyConfiguration topology) { Topology = topology; Consume = new ConsumePipeConfiguration(); Send = new SendPipeConfiguration(topology.Send); Publish = new PublishPipeConfiguration(topology.Publish); Receive = new ReceivePipeConfiguration(); Serialization = new SerializationConfiguration(); }
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(); }
protected EndpointConfiguration(IBusConfiguration busConfiguration, ITopologyConfiguration topology, IConsumePipe consumePipe = null) { Topology = topology; Consume = new ConsumePipeConfiguration(consumePipe); Send = new SendPipeConfiguration(busConfiguration.Send.Specification); Publish = new PublishPipeConfiguration(busConfiguration.Publish.Specification); Receive = new ReceivePipeConfiguration(); Serialization = busConfiguration.Serialization.CreateSerializationConfiguration(); }