Ejemplo n.º 1
0
 public Publisher(IChannelFactory channelFactory, ITopologyProvider topologyProvider, IMessageSerializer serializer, IMessageContextProvider <TMessageContext> contextProvider, IPublishAcknowledger acknowledger, IBasicPropertiesProvider propertiesProvider, RawRabbitConfiguration config)
 {
     _channelFactory     = channelFactory;
     _topologyProvider   = topologyProvider;
     _serializer         = serializer;
     _contextProvider    = contextProvider;
     _acknowledger       = acknowledger;
     _propertiesProvider = propertiesProvider;
     _config             = config;
 }
 public Publisher(IChannelFactory channelFactory, ITopologyProvider topologyProvider, IMessageSerializer serializer, IPublishAcknowledger acknowledger,
                  IBasicPropertiesProvider propertiesProvider, RabbitMqConfiguration config, ILogger <Publisher> logger)
 {
     _logger             = logger;
     _channelFactory     = channelFactory;
     _topologyProvider   = topologyProvider;
     _serializer         = serializer;
     _acknowledger       = acknowledger;
     _propertiesProvider = propertiesProvider;
     _config             = config;
 }