コード例 #1
0
 public DeferredOutboundConnectorTests()
 {
     _queue     = new InMemoryOutboundQueue();
     _connector = new DeferredOutboundConnector(_queue, new NullLogger <DeferredOutboundConnector>(),
                                                new MessageLogger());
     _transactionManager = new DeferredOutboundConnectorTransactionManager(_queue);
     InMemoryOutboundQueue.Clear();
 }
コード例 #2
0
 public DeferredOutboundConnectorTests()
 {
     _queue     = new InMemoryOutboundQueue();
     _connector = new DeferredOutboundConnector(_queue, new NullLogger <DeferredOutboundConnector>(),
                                                new MessageLogger(new MessageKeyProvider(new[] { new DefaultPropertiesMessageKeyProvider() })));
     _transactionManager = new DeferredOutboundConnectorTransactionManager(_queue);
     InMemoryOutboundQueue.Clear();
 }