public MessageSender() { _mainQueue = new MainExampleQueue( new MessageQueueFactory(), new NonFunctionalCircuitBreaker(), new ConsoleLogger()); }
public MessageProcessor() { _mainQueue = _mainQueue = new MainExampleQueue( new MessageQueueFactory(), new NonFunctionalCircuitBreaker(), new ConsoleLogger()); _poisonQueue = new PoisonExampleQueue( new MessageQueueFactory(), new NonFunctionalCircuitBreaker(), new ConsoleLogger()); }