[
https://issues.apache.org/jira/browse/OFBIZ-10557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610199#comment-16610199 ]
Nicolas Malin commented on OFBIZ-10557:
---------------------------------------
If you want test, I load a simple example [^OFBIZ-10557-test.patch] with the service echoService.
Run the service echoService and call indefinitely returnErrorService.
Remove the max-retry on returnErrorService definition and recall echoService. Now you have just on call on returnErrorService
> Async persist service on error no restart by default
> ----------------------------------------------------
>
> Key: OFBIZ-10557
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10557> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Major
> Attachments: OFBIZ-10557-test.patch
>
>
> Related to the [discussion on dev|
https://s.apache.org/EBhf] I will turn off by default the indefinitely restart when a service async failed.
> When a service run by async with persistence, the default value set on jobsandbox.maxRetry is 0 instead of -1 before.
> If you want run indefinitely an async service while isn't a success, set on your service definition max-retry="-1".
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)