09.10 변경분 반영

This commit is contained in:
Rinjae
2025-09-10 19:59:13 +09:00
parent aacc1a389e
commit 7e4b7e7931
4 changed files with 381 additions and 23 deletions
@@ -111,27 +111,27 @@ public class DBInboudSqlAdapterListener extends AdapterListenerSupport {
}
// TODO : Application Test Code.
// in real system, remove this block
else {
prop = new Properties();
prop.setProperty(DBAdapterKeys.RUN_CRONEXP, "0/10 * * * * ?");
prop.setProperty(DBAdapterKeys.RUN_INTVL, "1000");
prop.setProperty(DBAdapterKeys.RUN_RETRY, "N");
prop.setProperty(DBAdapterKeys.RUN_RETRYCNT, "2");
prop.setProperty(DBAdapterKeys.RUN_RETRYINTVL, "5000");
prop.setProperty(DBAdapterKeys.RUN_MSGTYPE, "JSON");
prop.setProperty(DBAdapterKeys.DRIVER, "oracle.jdbc.driver.OracleDriver");
prop.setProperty(DBAdapterKeys.URL, "jdbc:oracle:thin:@localhost:1521:XE");
prop.setProperty(DBAdapterKeys.USER, "eai");
prop.setProperty(DBAdapterKeys.PVAL, "eaiadmin");
// prop.setProperty(DBAdapterKeys.SELECT, "select * from APIJOBSCHE");
prop.setProperty(DBAdapterKeys.SELECT, "select * from EAIINF01 where RFLAG IS null ORDER BY UNID");
prop.setProperty(DBAdapterKeys.UPDATE, "update EAIINF01 set RFLAG = 'C' where UNID = '%UNID%' ");
debug("Start Scheduler");
adapterName = "_EAI_IN_DBQ_SyC";
}
// else {
// prop = new Properties();
//
// prop.setProperty(DBAdapterKeys.RUN_CRONEXP, "0/10 * * * * ?");
// prop.setProperty(DBAdapterKeys.RUN_INTVL, "1000");
// prop.setProperty(DBAdapterKeys.RUN_RETRY, "N");
// prop.setProperty(DBAdapterKeys.RUN_RETRYCNT, "2");
// prop.setProperty(DBAdapterKeys.RUN_RETRYINTVL, "5000");
// prop.setProperty(DBAdapterKeys.RUN_MSGTYPE, "JSON");
//
// prop.setProperty(DBAdapterKeys.DRIVER, "oracle.jdbc.driver.OracleDriver");
// prop.setProperty(DBAdapterKeys.URL, "jdbc:oracle:thin:@localhost:1521:XE");
// prop.setProperty(DBAdapterKeys.USER, "eai");
// prop.setProperty(DBAdapterKeys.PVAL, "eaiadmin");
//// prop.setProperty(DBAdapterKeys.SELECT, "select * from APIJOBSCHE");
// prop.setProperty(DBAdapterKeys.SELECT, "select * from EAIINF01 where RFLAG IS null ORDER BY UNID");
// prop.setProperty(DBAdapterKeys.UPDATE, "update EAIINF01 set RFLAG = 'C' where UNID = '%UNID%' ");
//
// debug("Start Scheduler");
// adapterName = "_EAI_IN_DBQ_SyC";
// }
// TODO : Application Test Code End.
prop.setProperty(DBAdapterKeys.ADAPTER_NAME, adapterName);