Exemple #1
0
        protected override IMessagePublishTopologyConfigurator CreateMessageTopology <T>(Type type)
        {
            var messageTopology = new AmazonSqsMessagePublishTopology <T>(this, _messageTopology.GetMessageTopology <T>());

            OnMessageTopologyCreated(messageTopology);

            return(messageTopology);
        }
Exemple #2
0
        protected override IMessagePublishTopologyConfigurator CreateMessageTopology <T>(Type type)
        {
            var messageTopology = new AmazonSqsMessagePublishTopology <T>(_messageTopology.GetMessageTopology <T>());

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

            ImplementedMessageTypeCache <T> .EnumerateImplementedTypes(connector);

            OnMessageTopologyCreated(messageTopology);

            return(messageTopology);
        }
Exemple #3
0
 public ImplementedMessageTypeConnector(IAmazonSqsPublishTopologyConfigurator publishTopology,
                                        AmazonSqsMessagePublishTopology <TMessage> messagePublishTopologyConfigurator)
 {
     _publishTopology = publishTopology;
     _messagePublishTopologyConfigurator = messagePublishTopologyConfigurator;
 }