Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMsMessageConsumer"/> class.
 /// </summary>
 /// <param name="queueName">Name of the queue.</param>
 /// <param name="routingKey">The routing key.</param>
 /// <param name="logger">The logger.</param>
 public RestMsMessageConsumer(string queueName, string routingKey, ILog logger)
     : base(logger)
 {
     _queueName = queueName;
     _routingKey = routingKey;
     _feed = new Feed(this);
     _domain = new Domain(this);
 }
 /// <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);
 }
 /// <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);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMsMessageConsumer"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 public RestMsMessageConsumer(ILog logger) : base(logger)
 {
     feed   = new Feed(this);
     domain = new Domain(this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMsMessageProducer"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 public RestMsMessageProducer(ILog logger) : base(logger)
 {
     _feed = new Feed(this);
     _domain = new Domain(this);
 }