예제 #1
0
 public RabbitMQSubscriptionManager(
     IServiceProvider serviceProvider,
     IEventBusPublisher eventBusPublisher,
     MessageWriterProvider messageWriterProvider
     )
 {
     this.serviceProvider       = serviceProvider;
     this.eventBusPublisher     = eventBusPublisher;
     this.messageWriterProvider = messageWriterProvider;
 }
예제 #2
0
 public RabbitMQPublisher(
     IConnectionProvider <RabbitMQConnection> connectionProvider,
     MessageWriterProvider messageWriterProvider,
     RabbitMessageSerializer rabbitMessageSerializer,
     RabbitPipeline pipeline,
     ILogger <RabbitMQPublisher> logger,
     IServiceProvider serviceProvider
     )
 {
     this.connectionProvider      = connectionProvider;
     this.messageWriterProvider   = messageWriterProvider;
     this.rabbitMessageSerializer = rabbitMessageSerializer;
     this.pipeline        = pipeline;
     this.logger          = logger;
     this.serviceProvider = serviceProvider;
 }