public RabbitMQSubscriptionManager( IServiceProvider serviceProvider, IEventBusPublisher eventBusPublisher, MessageWriterProvider messageWriterProvider ) { this.serviceProvider = serviceProvider; this.eventBusPublisher = eventBusPublisher; this.messageWriterProvider = messageWriterProvider; }
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; }