Example #1
0
 public MessageSender()
 {
     _mainQueue = new MainExampleQueue(
         new MessageQueueFactory(),
         new NonFunctionalCircuitBreaker(),
         new ConsoleLogger());
 }
Example #2
0
        public MessageProcessor()
        {
            _mainQueue = _mainQueue = new MainExampleQueue(
                new MessageQueueFactory(),
                new NonFunctionalCircuitBreaker(),
                new ConsoleLogger());

            _poisonQueue = new PoisonExampleQueue(
                new MessageQueueFactory(),
                new NonFunctionalCircuitBreaker(),
                new ConsoleLogger());
        }