[ 
https://issues.apache.org/jira/browse/ODE-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287411#comment-13287411
 ] 

Sathwik Bantwal Premakumar commented on ODE-963:
------------------------------------------------

The approach is to provide a property in ode-axis2.properties which would take 
the class name of the rescheduling algorithm. The existing algorithm will be 
used as default strategy.

Property name that can be used to configure the implementation class in 
ode-axis2.properties is as follows
ode.scheduler.jobRescheduleStrategy
                
> Provision to configure different Job Rescheduling Algorithms to be used by 
> the Scheduler
> ----------------------------------------------------------------------------------------
>
>                 Key: ODE-963
>                 URL: https://issues.apache.org/jira/browse/ODE-963
>             Project: ODE
>          Issue Type: Improvement
>          Components: BPEL Runtime
>            Reporter: Sathwik Bantwal Premakumar
>
> Currently the SimpleScheduler uses the default algorithm of pow(5,retryCount) 
> to reschedule failed jobs.
> So the retires are done after 5,25,125,625,... seconds. At higher retries the 
> jobs are rescheduled after many hours or even days. This may be undesirable 
> at times and may need more efficient algorithms.
> There should be a provision to configure different job rescheduling 
> algorithms. Care should be taken to fallback on the above algorithm as the 
> default incase no algorithms are configured.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to