Exemple #1
0
        private void ProcessQueues(string queueName, MscMcomPool mscMcomPool)
        {
            List <MscMcomQueue> mscMcomQueueList = new List <MscMcomQueue>();

            foreach (var responseQueue in _iQueues.GetQueues(mscMcomPool.ClearingRefKey, queueName))
            {
                var          mscMcomQueueResponse = GetQueueData(queueName, responseQueue);
                MscMcomQueue mscMcomQueue         = _transactionRepository.GetQueueData(mscMcomQueueResponse);
                if (mscMcomQueue == null)
                {
                    mscMcomQueueList.Add(mscMcomQueueResponse);
                }
            }
            _transactionRepository.CreateQueueData(mscMcomQueueList);
        }