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

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

            ImplementedMessageTypeCache <T> .EnumerateImplementedTypes(connector);

            OnMessageTopologyCreated(messageTopology);

            return(messageTopology);
        }
 public ImplementedMessageTypeConnector(IActiveMqPublishTopologyConfigurator publishTopology,
                                        ActiveMqMessagePublishTopology <TMessage> messagePublishTopologyConfigurator)
 {
     _publishTopology = publishTopology;
     _messagePublishTopologyConfigurator = messagePublishTopologyConfigurator;
 }