From d4afafcd1193cbd1b3d4f023ca2c05727fb6e0e7 Mon Sep 17 00:00:00 2001 From: Francisco Javier Tirado Sarti Date: Wed, 22 Nov 2023 13:47:05 +0100 Subject: [PATCH] [JBPM-10088] Do not create transaction for regular timer task --- .../java/org/jbpm/services/ejb/timer/EJBTimerScheduler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jbpm-services/jbpm-services-ejb/jbpm-services-ejb-timer/src/main/java/org/jbpm/services/ejb/timer/EJBTimerScheduler.java b/jbpm-services/jbpm-services-ejb/jbpm-services-ejb-timer/src/main/java/org/jbpm/services/ejb/timer/EJBTimerScheduler.java index 4d8092dd81..88ad489d4b 100644 --- a/jbpm-services/jbpm-services-ejb/jbpm-services-ejb-timer/src/main/java/org/jbpm/services/ejb/timer/EJBTimerScheduler.java +++ b/jbpm-services/jbpm-services-ejb/jbpm-services-ejb-timer/src/main/java/org/jbpm/services/ejb/timer/EJBTimerScheduler.java @@ -113,7 +113,7 @@ public void executeTimerJob(Timer timer) { Thread.currentThread().interrupt(); } try { - invokeTransaction(this::executeTimerJobInstance, timerJobInstance); + executeTimerJobInstance(timerJobInstance); } catch (Exception e) { recoverTimerJobInstance(timerJob, timer, e); }