How to control the number of jBPM retries in SOA-P?
Issue
- We start a jBPM process from an ESB service, using the org.jboss.soa.esb.services.jbpm.actions.BpmProcessor with a StartProcessInstanceCommand. Within the jBPM process an unexpected error occurs in an ActionHandler. This results in an automatic retrial of the process execution, as we see the following in the server.log file:
INFO [STDOUT] ** Inside jBPM ActionHandler **
INFO [STDOUT] ** Inside jBPM ActionHandler **
INFO [STDOUT] ** Inside jBPM ActionHandler **
INFO [STDOUT] ** Inside jBPM ActionHandler **
...
INFO [STDOUT] ** Inside jBPM ActionHandler **
ERROR [org.jboss.soa.esb.services.jbpm.integration.job.ExecuteJobCommand] Job retry count exceeded for job 1
How can we turn this behavior off, or change the number of automatic retries?
Environment
- JBoss Enterprise SOA Platform (SOA-P)
- 4.3
- 5.x
- jBPM
- 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.