예제 #1
0
 public static async Task <RabbitMqPublisher> CreateAsync(ConnectionFactory factory, RabbitMqOptions options) =>
 (await new RabbitMqPublisher(factory, options).Connect()) as RabbitMqPublisher;
 private RabbitMqSubscriber(ConnectionFactory factory, RabbitMqOptions options)
     : base(factory, options)
 {
 }
예제 #3
0
 private RabbitMqPublisher(ConnectionFactory factory, RabbitMqOptions options)
     : base(factory, options)
 {
 }
예제 #4
0
 protected RabbitMqBase(ConnectionFactory factory, RabbitMqOptions options)
 {
     _factory = factory;
     _options = options;
 }