Update spring-integration/src/main/java/com/baeldung/tx/ServiceActivator.java

Co-Authored-By: KevinGilmore <kpg102@gmail.com>
This commit is contained in:
enpy
2019-10-08 14:56:28 +02:00
committed by GitHub
parent e94f7c56c2
commit e07705f327

View File

@@ -17,7 +17,7 @@ public class ServiceActivator {
this.jdbcTemplate.update("insert into STUDENT values(?)", payload);
if (payload.toLowerCase().startsWith("fail")) {
log.error("Service failure. Test result: {} ", payload);
log.error("Service failure. Test result: {}", payload);
throw new RuntimeException("Service failure.");
}