예제 #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);
 }
예제 #2
0
파일: Join.cs 프로젝트: iancooper/Paramore
 public Join(RestMsMessageConsumer gateway, Feed feed)
 {
     _gateway = gateway;
     _feed = feed;
 }
예제 #3
0
 /// <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);
 }
예제 #4
0
파일: Pipe.cs 프로젝트: iancooper/Paramore
 public Pipe(RestMsMessageConsumer gateway, Feed feed)
 {
     _gateway = gateway;
     _join = new Join(gateway, feed);
 }
예제 #5
0
파일: Pipe.cs 프로젝트: danbarua/Paramore
 public Pipe(RestMsMessageConsumer gateway, Feed feed)
 {
     this.gateway = gateway;
     join         = new Join(gateway, feed);
 }
예제 #6
0
 /// <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);
 }
예제 #7
0
 public Join(RestMsMessageConsumer gateway, Feed feed)
 {
     this.gateway = gateway;
     this.feed    = feed;
 }
예제 #8
0
 public Join(RestMsMessageConsumer gateway, Feed feed)
 {
     _gateway = gateway;
     _feed    = feed;
 }
예제 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMsMessageProducer"/> class.
 /// Use this if you need to inject the logger, for example for testing
 /// </summary>
 /// <param name="configuration">The configuration of the RestMS broker we need to contact</param>
 /// <param name="logger">The logger.</param>
 public RestMsMessageProducer(RestMSMessagingGatewayConfiguration configuration, ILog logger) : base(configuration, logger)
 {
     _feed   = new Feed(this);
     _domain = new Domain(this);
 }
예제 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMsMessageProducer"/> class.
 /// Use this if you need to inject the logger, for example for testing
 /// </summary>
 /// <param name="logger">The logger.</param>
 public RestMsMessageProducer(ILog logger) : base(logger)
 {
     _feed   = new Feed(this);
     _domain = new Domain(this);
 }