Automated Retry Configuration for Rest Work Item Handler

Solution Verified - Updated -

Issue

  • Automated Retry Configuration
  • Controlling the number of automated retries for tasks that are marked as Is Async or RestWorkItemHandler in 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.
  • Setting the system property org.kie.executor.retry.count to 0 does not stop task to be retried 3 times
  • Tasks that are marked as Is Async and RestWorkItemHandler defined 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.count is 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content