protected override IMessagePublishTopologyConfigurator CreateMessageTopology <T>(Type type)
        {
            var topology = new InMemoryMessagePublishTopology <T>(_messageTopology.GetMessageTopology <T>());

            var connector = new ImplementedMessageTypeConnector <T>(this, topology);

            ImplementedMessageTypeCache <T> .EnumerateImplementedTypes(connector);

            OnMessageTopologyCreated(topology);

            return(topology);
        }
 public ImplementedMessageTypeConnector(IInMemoryPublishTopologyConfigurator publishTopology,
                                        InMemoryMessagePublishTopology <TMessage> messagePublishTopologyConfigurator)
 {
     _publishTopology = publishTopology;
     _messagePublishTopologyConfigurator = messagePublishTopologyConfigurator;
 }