Automated Retry Configuration for Rest Work Item Handler
Issue
- Automated Retry Configuration
- Controlling the number of automated retries for tasks that are marked as
Is AsyncorRestWorkItemHandlerin kie-server - RHPAM has a configurable mechanism that retries a failed job execution using the system property
org.kie.executor.retry.count:- for tasks that are marked as
Is Async, - using
org.jbpm.process.workitem.rest.RESTWorkItemHandler.
- for tasks that are marked as
- Setting the system property
org.kie.executor.retry.countto 0 does not stop task to be retried 3 times -
Tasks that are marked as
Is AsyncandRestWorkItemHandlerdefined using the following constructor:new org.jbpm.process.workitem.rest.RESTWorkItemHandler(classLoader,"test.error-handling","RETRY")will be retried 3 times even when
org.kie.executor.retry.countis set to 0
Environment
- Red Hat Decision Manager (RHDM)
- Red Hat Process Automation Manager (RHPAM)
- version 7.12.1 and earlier
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.