So lesen Sie diese (fixedRate = 12000) 12000 Formulareigenschaftsdatei im Frühjahr.So lesen Sie Schlüssel - Wert - Paar aus der Eigenschaftendatei mithilfe von Anmerkungen
@Scheduled(fixedRate=120000)
public void tlogZipping() throws MposWSException {
LOGGER.info("Started tlog Zipping Job............. {}" + new Date());
try {
//......................
} catch (Exception e) {
LOGGER.error("FAIL TO CREATE RECEIPT ZIP FILE: {}",e);
throw new MposWSException(MposWSErrorCodes.FAIL_TO_CREATE_RECEIPT_ZIP_FILE, e);
}
LOGGER.info("Stopped tlog Zipping Job.............");
}
gibt es keine solche Datei, was ich konnte, um Ihren Code zu sehen ?? @Dipesh –
Mein Dateiname ist MyProperty.properties und es enthält: TLOG_ZIPPING_TIME_INTERVEL_IN_MINUTES = 1200000 –
ist dies ein kommentierte Schlüssel wie '@ TLOG_ZIPPING_TIME_INTERVEL_IN_MINUTES' oder einfache Schlüssel wie' TLOG_ZIPPING_TIME_INTERVEL_IN_MINUTES' –