Some events might not be retried
--------------------------------

                 Key: ODE-708
                 URL: https://issues.apache.org/jira/browse/ODE-708
             Project: ODE
          Issue Type: Bug
    Affects Versions: 1.3.3, 1.3.2
            Reporter: Alexis Midon
             Fix For: 1.3.4


When a JobProcessor exceptions is thrown in BpelEngineImpl, the method 
BpelEngineImpl#checkRetry is invoked to determine if the job should be retried 
or not.

checkRetry intends to return false if the job is in-memory. But the test is 
error prone:
 jobInfo.jobDetail.get("inmem") == null;

This will false if a value is set in the map, even if the value is true.

The test should be:
Boolean bool = (Boolean) _jobDetail.get("inmem");
if (bool == null) return false;
else return bool; 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to