]
Alejandro Guizar resolved JBPM-2042.
------------------------------------
Resolution: Done
Not supported on Sybase.
Add possibility to query failed Jobs
------------------------------------
Key: JBPM-2042
URL:
https://jira.jboss.org/jira/browse/JBPM-2042
Project: JBoss jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Core Engine
Reporter: Bernd Ruecker
Assignee: Alejandro Guizar
Priority: Minor
Fix For: jBPM 3.2.6 GA
The JobExecutor decrements the number of retries every time an exception is thrown during
execution of jobs. The exception stacktrace is saved in the Jobs.
In the API (JobSession) I now add a method to query all failed jobs (where retries==0 and
excpetion!=null) which will not be executed again by the JobExecutor.
I added the method "findFailedJobs", the hibernate named query
"JobSession.findFailedJobs" and a test case for it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: