Ejemplo n.º 1
0
        private IList <MailboxProcessor> GetMailboxProcessors(IRequestQueueManager queueManager)
        {
            IGetMoveInfo             getMoveInfo             = new GetMoveInfo(base.Logger, this.CmdletPool);
            IEventNotificationSender eventNotificationSender = new EventNotificationSender();

            IMailboxPolicy[] mailboxPolicies = this.GetMailboxPolicies(eventNotificationSender);
            return(new MailboxProcessor[]
            {
                new MailboxStatisticsLogger(base.Logger, this.LogCollector),
                new MailboxPolicyProcessor(base.Logger, getMoveInfo, this.MoveInjector, mailboxPolicies)
            });
        }
Ejemplo n.º 2
0
 public RebalancingRequestMoveStarter(IClientFactory clientFactory, ILogger logger, IRequestQueueManager queueManager)
 {
     this.clientFactory = clientFactory;
     this.logger        = logger;
     this.queueManager  = queueManager;
 }
Ejemplo n.º 3
0
 public ProxyMiddleware(RequestDelegate next, IRequestQueueManager queueManager, IMicroserviceManager serviceManager)
 {
     this.next           = next;
     this.queueManager   = queueManager;
     this.serviceManager = serviceManager;
 }