public void SetUp() { messageSender = new FakeMessageSender(); deferrer = new FakeMessageDeferrer(); ERROR_QUEUE = new Address("error", "localhost"); RETRIES_QUEUE = new Address("retries", "localhost"); ORIGINAL_QUEUE = new Address("org", "hostname"); CLIENT_QUEUE = Address.Parse("clientQ@myMachine"); var busNotifications = new BusNotifications(); satellite = new SecondLevelRetriesProcessor { FaultManager = new FaultManager(null, null, busNotifications) { ErrorQueue = ERROR_QUEUE }, MessageSender = messageSender, MessageDeferrer = deferrer, InputAddress = RETRIES_QUEUE, SecondLevelRetriesConfiguration = new SecondLevelRetriesConfiguration() }; message = new TransportMessage(Guid.NewGuid().ToString(), new Dictionary <string, string> { { Headers.ReplyToAddress, CLIENT_QUEUE.ToString() } }); }
public void SetUp() { satellite = new SecondLevelRetriesProcessor(); messageSender = new FakeMessageSender(); deferrer = new FakeMessageDeferrer(); ERROR_QUEUE = new Address("error", "localhost"); RETRIES_QUEUE = new Address("retries", "localhost"); ORIGINAL_QUEUE = new Address("org", "hostname"); CLIENT_QUEUE = Address.Parse("clientQ@myMachine"); satellite.InputAddress = RETRIES_QUEUE; satellite.FaultManager = new FaultManager(new FuncBuilder(), null) {ErrorQueue = ERROR_QUEUE}; satellite.MessageSender = messageSender; satellite.MessageDeferrer = deferrer; message = new TransportMessage(Guid.NewGuid().ToString(), new Dictionary<string, string>{{Headers.ReplyToAddress,CLIENT_QUEUE.ToString()}}); }
public void SetUp() { satellite = new SecondLevelRetriesProcessor(); messageSender = new FakeMessageSender(); deferrer = new FakeMessageDeferrer(); ERROR_QUEUE = new Address("error", "localhost"); RETRIES_QUEUE = new Address("retries", "localhost"); ORIGINAL_QUEUE = new Address("org", "hostname"); CLIENT_QUEUE = Address.Parse("clientQ@myMachine"); satellite.InputAddress = RETRIES_QUEUE; satellite.FaultManager = new FaultManager(new FuncBuilder(), null) { ErrorQueue = ERROR_QUEUE }; satellite.MessageSender = messageSender; satellite.MessageDeferrer = deferrer; message = new TransportMessage(Guid.NewGuid().ToString(), new Dictionary <string, string> { { Headers.ReplyToAddress, CLIENT_QUEUE.ToString() } }); }
public void SetUp() { messageSender = new FakeMessageSender(); deferrer = new FakeMessageDeferrer(); ERROR_QUEUE = new Address("error", "localhost"); RETRIES_QUEUE = new Address("retries", "localhost"); ORIGINAL_QUEUE = new Address("org", "hostname"); CLIENT_QUEUE = Address.Parse("clientQ@myMachine"); var busNotifications = new BusNotifications(); satellite = new SecondLevelRetriesProcessor { FaultManager = new FaultManager(null, null, busNotifications) { ErrorQueue = ERROR_QUEUE }, MessageSender = messageSender, MessageDeferrer = deferrer, InputAddress = RETRIES_QUEUE, SecondLevelRetriesConfiguration = new SecondLevelRetriesConfiguration() }; message = new TransportMessage(Guid.NewGuid().ToString(), new Dictionary<string, string>{{Headers.ReplyToAddress,CLIENT_QUEUE.ToString()}}); }