Exemplo n.º 1
0
 public SubscriptionToken(RabbitModule module, ISubscriptionResult token, Guid id, string queueName, string topic)
 {
     _token     = token;
     _id        = id;
     _queueName = queueName;
     _topic     = topic;
     _module    = module;
 }
 public RabbitConsumerBuilder(IBus bus, IMessageBus messageBus, RabbitModule module)
 {
     _bus        = bus;
     _messageBus = messageBus;
     _module     = module;
     _receiveRaw = false;
     _remoteOnly = false;
 }
        public RabbitSenderBuilder(IMessageBus messageBus, IBus bus, RabbitModule module)
        {
            Assert.ArgumentNotNull(messageBus, nameof(messageBus));
            Assert.ArgumentNotNull(bus, nameof(bus));

            _bus      = bus;
            _module   = module;
            _strategy = new DefaultSenderBuildStrategy(messageBus.Id);
        }