Example #1
0
 public MqConsumerHelper(IConfiguration configuration)
 {
     _configuration = configuration;
     _brokerOptions = _configuration.GetSection("MessageBrokerOptions").Get <MessageBrokerOptions>();
 }
Example #2
0
 public MqQueueHelper(IConfiguration configuration)
 {
     Configuration  = configuration;
     _brokerOptions = Configuration.GetSection("MessageBrokerOptions").Get <MessageBrokerOptions>();
 }