protected override IMessageConsumeTopologyConfigurator CreateMessageTopology <T>(Type type)
        {
            var messageTopology = new ActiveMqMessageConsumeTopology <T>(_messageTopology.GetMessageTopology <T>(), _publishTopology.GetMessageTopology <T>());

            OnMessageTopologyCreated(messageTopology);

            return(messageTopology);
        }
        protected override IMessageConsumeTopologyConfigurator CreateMessageTopology <T>(Type type)
        {
            var topology = new InMemoryMessageConsumeTopology <T>(_messageTopology.GetMessageTopology <T>());

            OnMessageTopologyCreated(topology);

            return(topology);
        }
Ejemplo n.º 3
0
        protected override IMessagePublishTopologyConfigurator CreateMessageTopology <T>(Type type)
        {
            var messageTopology = new ServiceBusMessagePublishTopology <T>(_messageTopology.GetMessageTopology <T>());

            OnMessageTopologyCreated(messageTopology);

            return(messageTopology);
        }
Ejemplo n.º 4
0
        protected override IMessagePublishTopologyConfigurator CreateMessageTopology <T>(Type type)
        {
            var messageTopology = new AmazonSqsMessagePublishTopology <T>(this, _messageTopology.GetMessageTopology <T>());

            OnMessageTopologyCreated(messageTopology);

            return(messageTopology);
        }
        protected override IMessageConsumeTopologyConfigurator CreateMessageTopology <T>(Type type)
        {
            var exchangeTypeSelector = new MessageExchangeTypeSelector <T>(ExchangeTypeSelector);

            var messageTopology = new RabbitMqMessageConsumeTopology <T>(_messageTopology.GetMessageTopology <T>(), exchangeTypeSelector,
                                                                         _publishTopology.GetMessageTopology <T>());

            OnMessageTopologyCreated(messageTopology);

            return(messageTopology);
        }