Ejemplo n.º 1
0
        public PullController(string appCode, string metaServer)
        {
            BrokerGroupService = new BrokerGroupService(appCode, metaServer);
            var sendMessageBackService = new SendMessageBackService(BrokerGroupService);

            AckMessageService      = new AckMessageService(BrokerGroupService);
            AckHandlerQueueManager = new AckHandlerQueueManager(AckMessageService, sendMessageBackService);
            PullMessageService     = new PullMessageService(AckHandlerQueueManager);
        }
Ejemplo n.º 2
0
 public PullMessageService(AckHandlerQueueManager ackHandlerQueueManager)
 {
     _ackHandlerQueueManager = ackHandlerQueueManager;
     _clientManager          = new NewQmqClientManager(new PullMessageDataTransformer());
 }