Author: boisvert
Date: Tue Oct 27 22:11:57 2009
New Revision: 830364

URL: http://svn.apache.org/viewvc?rev=830364&view=rev
Log:
Transactions running into Throwables should be retried

Modified:
    
ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java

Modified: 
ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java?rev=830364&r1=830363&r2=830364&view=diff
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
 (original)
+++ 
ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
 Tue Oct 27 22:11:57 2009
@@ -452,7 +452,7 @@
             throw new Scheduler.JobProcessorException(rte, checkRetry(jobInfo, 
rte));
         } catch (Throwable t) {
             __log.error(__msgs.msgScheduledJobFailed(we.getDetail()), t);
-            throw new Scheduler.JobProcessorException(false);
+            throw new Scheduler.JobProcessorException(t, true);
         }
     }
 


Reply via email to