서버 테스트 반영
This commit is contained in:
@@ -42,10 +42,10 @@ public class EmailJob {
|
||||
this.prop = prop;
|
||||
|
||||
String filename = messageRequest.getServiceId() + "_" + DateTimeFormatter.ofPattern("yyyyMMddHHmmssSSS").format(now);
|
||||
this.tempFilePath = Paths.get(prop.getEaiBatchSendDir(), filename + ".tmp");
|
||||
this.eaiFilePath = Paths.get(prop.getEaiBatchSendDir(), filename);
|
||||
this.backupFilePath = Paths.get(prop.getEaiBatchBackupDir(), filename);
|
||||
this.failedFilePath = Paths.get(prop.getEaiBatchBackupDir(), filename + ".failed");
|
||||
this.tempFilePath = Paths.get(prop.getUmsEaiBatchSendDir(), filename + ".tmp");
|
||||
this.eaiFilePath = Paths.get(prop.getUmsEaiBatchSendDir(), filename);
|
||||
this.backupFilePath = Paths.get(prop.getUmsEaiBatchBackupDir(), filename);
|
||||
this.failedFilePath = Paths.get(prop.getUmsEaiBatchBackupDir(), filename + ".failed");
|
||||
|
||||
this.messageRequestRepository = messageRequestRepository;
|
||||
|
||||
@@ -148,7 +148,7 @@ public class EmailJob {
|
||||
|
||||
private void eaiBatchCall() throws IOException {
|
||||
KjbEaiBatchModule eaiBatchModule = new KjbEaiBatchModule(prop);
|
||||
EaiBatchMessage result = eaiBatchModule.call(prop.getEaiBatchInterfaceId(), eaiFilePath.getFileName().toString());
|
||||
EaiBatchMessage result = eaiBatchModule.call(prop.getUmsEaiBatchInterfaceId(), eaiFilePath.getFileName().toString());
|
||||
|
||||
if (!"1".equals(result.getResultCode())) {
|
||||
log.error("EAI Batch call failed: {}", result);
|
||||
|
||||
Reference in New Issue
Block a user