Ejemplo n.º 1
0
        static void Test_DownloadResponse()
        {
            //Get_Data_Utility objGet = new Get_Data_Utility();
            DML_Utility      objDML      = new DML_Utility();
            ExecuteProcess   obj         = new ExecuteProcess();
            JsonCreater      JsonCreater = new Read_File_Processor.JsonCreater();
            RabbitMQ_Utility objQueue    = new RabbitMQ_Utility();

            try
            {
                string output       = "";
                string error        = "";
                string MessageId    = "2eb1d289-f9e5-4d80-9834-3550fcc0da48";
                string jsonDownload = JsonCreater.getDownload_Response(MessageId, "Y");
                bool   ret          = objQueue.Rabbit_Send_Response_Queue(jsonDownload, "Response", "localhost", out error);
            }
            catch (Exception ex)
            {
                int iException = objDML.Add_Exception_Log("Wipro exception : " + ex.Message, "");
                iException = objDML.Add_Exception_Log(ex.Message, "Main Function");
            }
        }
Ejemplo n.º 2
0
        static void Test_DownloadResponse()
        {
            //Get_Data_Utility objGet = new Get_Data_Utility();
            DML_Utility      objDML      = new DML_Utility();
            ExecuteProcess   obj         = new ExecuteProcess();
            JsonCreater      JsonCreater = new Read_File_Processor.JsonCreater();
            RabbitMQ_Utility objQueue    = new RabbitMQ_Utility();

            try
            {
                string output       = "";
                string error        = "";
                string MessageId    = "a7520c5f-7245-4f91-aefc-6063785ccabe";
                string ServiceId    = "DOWNLOAD";
                string jsonDownload = JsonCreater.getDownload_Response(MessageId, ServiceId, "Y");
                bool   ret          = objQueue.Rabbit_Send_Response_Queue(jsonDownload, "Response", "localhost", out error);
            }
            catch (Exception ex)
            {
                int iException = objDML.Add_Exception_Log(ex.Message, "");
                iException = objDML.Add_Exception_Log("Wipro exception : " + ex.Message, "Main Function");
            }
        }