Exemple #1
0
        public void SetUp()
        {
            _network.Reset();

            _requestor = CreateBus("requestor", r => r.TypeBased().Map <string>("replier"));
            _replier   = CreateBus("replier");
        }
    protected override void SetUp()
    {
        _network.Reset();

        _simpleRetryStrategySettings = new SimpleRetryStrategySettings();
        _transport = new InMemTransport(_network, "whatever");
        _handler   = new PoisonQueueErrorHandler(_simpleRetryStrategySettings, _transport, new ConsoleLoggerFactory(false));
        _handler.Initialize();
    }
Exemple #3
0
    protected override void SetUp()
    {
        _network.Reset();

        _server = CreateBus("test.message.deferral", configurer =>
        {
            configurer.Timeouts(t => t.StoreInMemory());
        });

        _client = CreateBus("test.message.deferral.CLIENT", configurer =>
        {
            configurer
            .Routing(r => r.TypeBased().Map <string>("test.message.deferral"))
            .Timeouts(t => t.UseExternalTimeoutManager("test.message.deferral"));
        });
    }
 protected override void SetUp()
 {
     _network.Reset();
 }
Exemple #5
0
 protected override void SetUp()
 {
     _listLoggerFactory.Clear();
     _network.Reset();
 }
 protected override void SetUp() => _inMemNetwork.Reset();