Activiti/Activiti — pull request #361 by dmandalidis (2014-08-23 13:39:19+00:00)
Title: Register rollback listener before executing the job

We 've noticed that the failed job listener was registered to the transactional context after the job.execute() has failed. (see ExecuteJobsCmd @ try-catch block). This is kind of strange if the transaction is intercepted by JtaTransactionInterceptor as the transaction were already rolled back *before* adding the failed job listener.