コード例 #1
0
        public RabbitMqConsumeTopology(IMessageTopology messageTopology, IRabbitMqPublishTopology publishTopology)
        {
            _messageTopology     = messageTopology;
            _publishTopology     = publishTopology;
            ExchangeTypeSelector = new FanoutExchangeTypeSelector();

            _specifications = new List <IRabbitMqConsumeTopologySpecification>();
        }
コード例 #2
0
        public RabbitMqBusConfiguration(IRabbitMqTopologyConfiguration topology)
            : base(topology)
        {
            _hosts = new HostCollection <IRabbitMqHostConfiguration>();

            _exchangeTypeSelector = new FanoutExchangeTypeSelector();
            _messageNameFormatter = new RabbitMqMessageNameFormatter();
        }
コード例 #3
0
 public RabbitMqSendTopology(IEntityNameValidator validator)
 {
     ExchangeTypeSelector = new FanoutExchangeTypeSelector();
     EntityNameValidator  = validator;
 }
コード例 #4
0
 public RabbitMqPublishTopology(IMessageTopology messageTopology)
 {
     _messageTopology     = messageTopology;
     ExchangeTypeSelector = new FanoutExchangeTypeSelector();
 }