Beispiel #1
0
        public bool moveToReview(Request request)
        {
            RequestHeader header = RequestHeader.getRequestHeader(request.Header);

            header = RequestHeader.getRequestHeader(request.Header);

            return(sendMessage(config.reviewQueue, request.RequestId, _reviewQueue, _mqManagerReviewQueue, request.Name, request.MessageBody, request.RequestId.ToString(), syncReviewQueueLock));
        }
Beispiel #2
0
        public bool sendResponse(Request request, string ofacResponseIdentifier)
        {
            MQQueue        queue      = _okQueue;
            Object         lockObject = syncOkQueueLock;
            string         queueName  = config.okQueue;
            MQQueueManager manager    = _mqManagerOkQueue;


            if (request.OfacStatus == OfacStatus.Confirm)
            {
                queue      = _confirmQueue;
                lockObject = syncConfirmQueueLock;
                queueName  = config.confirmQueue;
                manager    = _mqManagerConfirmQueue;
            }

            RequestHeader header = RequestHeader.getRequestHeader(request.Header);


            return(sendMessage(queueName, request.RequestId, queue, manager, request.Name, request.ResponseMessage, request.RequestId.ToString(), lockObject));
        }
Beispiel #3
0
        public bool moveToError(Request request)
        {
            RequestHeader header = RequestHeader.getRequestHeader(request.Header);

            return(sendMessage(config.errorQueue, request.RequestId, _errorQueue, _mqManagerErrorQueue, request.Name, request.MessageBody, request.RequestId.ToString(), syncErrorQueueLock));
        }