Пример #1
0
        public SqsMqMessageFactory(ISqsMqBufferFactory sqsMqBufferFactory,
                                   SqsQueueManager sqsQueueManager)
        {
            Guard.AgainstNullArgument(sqsMqBufferFactory, "sqsMqBufferFactory");
            Guard.AgainstNullArgument(sqsQueueManager, "sqsQueueManager");

            this.sqsMqBufferFactory = sqsMqBufferFactory;
            this.sqsQueueManager    = sqsQueueManager;
        }
 public SqsMqMessageFactory(ISqsMqBufferFactory sqsMqBufferFactory,
                            SqsQueueManager sqsQueueManager)
 {
     Guard.AgainstNullArgument(sqsMqBufferFactory, "sqsMqBufferFactory");
     Guard.AgainstNullArgument(sqsQueueManager, "sqsQueueManager");
     
     this.sqsMqBufferFactory = sqsMqBufferFactory;
     this.sqsQueueManager = sqsQueueManager;
 }
Пример #3
0
 public SqsMqMessageFactory(SqsQueueManager sqsQueueManager)
     : this(new SqsMqBufferFactory(sqsQueueManager.ConnectionFactory), sqsQueueManager)
 {
 }
Пример #4
0
 public void FixtureSetUp()
 {
     sqsQueueManager = new SqsQueueManager(SqsTestClientFactory.GetConnectionFactory());
     LogManager.LogFactory = new ConsoleLogFactory();
 }
Пример #5
0
 public SqsMqClient(ISqsMqBufferFactory sqsMqBufferFactory, SqsQueueManager sqsQueueManager)
     : base(sqsMqBufferFactory, sqsQueueManager)
 {
 }
Пример #6
0
 public SqsMqMessageProducer(ISqsMqBufferFactory sqsMqBufferFactory, SqsQueueManager sqsQueueManager)
 {
     this.sqsMqBufferFactory = sqsMqBufferFactory;
     this.sqsQueueManager    = sqsQueueManager;
 }
 public SqsMqMessageFactory(SqsQueueManager sqsQueueManager) 
     : this(new SqsMqBufferFactory(sqsQueueManager.ConnectionFactory), sqsQueueManager) { }
 public void FixtureSetup()
 {
     sqsQueueManager = new SqsQueueManager(SqsTestClientFactory.GetConnectionFactory());
 }