- All Implemented Interfaces:
- org.jbpm.process.core.timer.SchedulerServiceInterceptor
public class TransactionAwareSchedulerServiceInterceptor
extends org.jbpm.process.core.timer.impl.DelegateSchedulerServiceInterceptor
Transaction aware scheduler service interceptor that will delay actual scheduling of the
timer job instance to the afterCompletion phase of JTA transaction. Scheduling will only
take place when transaction was successfully committed. That will make the timers
transactional to avoid any issues with having timer registered even though transaction was rolled
back.
NOTE:This interceptor should not be used for GlobalSchedulerService
that are by nature
transactional e.g. Quartz with Data Base job store.