Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMsMessageConsumer"/> class.
 /// </summary>
 /// <param name="configuration">The configuration of the RestMS broker</param>
 /// <param name="queueName">Name of the queue.</param>
 /// <param name="routingKey">The routing key.</param>
 public RestMsMessageConsumer(RestMSMessagingGatewayConfiguration configuration, string queueName, string routingKey) 
     : base(configuration)
 {
     _queueName = queueName;
     _routingKey = routingKey;
     _feed = new Feed(this);
     _domain = new Domain(this);
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMsMessageProducer"/> class.
 /// <param name="configuration">The configuration of the RestMS broker we need to contact</param>
 /// </summary>
 public RestMsMessageProducer(RestMSMessagingGatewayConfiguration configuration)
     : base(configuration)
 {
     _feed = new Feed(this);
     _domain = new Domain(this);
 }