public void MessageSpecificationCreated <T>(IMessageConsumePipeSpecification <T> specification) where T : class { IMessageConsumePipeSpecification <T> messageSpecification = _specification.GetMessageSpecification <T>(); specification.AddParentMessageSpecification(messageSpecification); }
void IConsumePipeSpecificationObserver.MessageSpecificationCreated <T>(IMessageConsumePipeSpecification <T> specification) { IMessageConsumeTopology <T> messagePublishTopology = _topology.GetMessageTopology <T>(); var topologySpecification = new MessageConsumeTopologyPipeSpecification <T>(messagePublishTopology); specification.AddParentMessageSpecification(topologySpecification); }