Beispiel #1
0
        public ReadQueuePNRMsg RemoveNGetNextPNRMsg(string _session, PNRMsgTemplateEnum _template)
        {
            ReadQueuePNRMsg pnrMsg = null;

            if (!string.IsNullOrEmpty(_session))
            {
                objGalConn.SessionID = _session;
            }

            QueueProcessor objQProc = new QueueProcessor(objGalConn);
            XmlElement     xmlPNR   = objQProc.RemoveNReadNextPNR();

            pnrMsg = GetPNRMsg(xmlPNR, _template);
            return(pnrMsg);
        }