[jboss-jira] [JBoss JIRA] (WFWIP-278) MP Fault Tolerance - @Retry(maxRetries = -1) never retries

Radoslav Husar (Jira) issues at jboss.org
Mon Dec 9 05:58:00 EST 2019


    [ https://issues.redhat.com/browse/WFWIP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822649#comment-13822649 ] 

Radoslav Husar edited comment on WFWIP-278 at 12/9/19 5:57 AM:
---------------------------------------------------------------

To clarify "should retry forever until the method returns without exception", the typical use case is probably in conjunction with {{abortOn=RuntimeException.class}}.


was (Author: rhusar):
To clarify "should retry forever until the method returns without exception", the typical use case is probably with the usage of `abortOn=RuntimeException.class`.

> MP Fault Tolerance - @Retry(maxRetries = -1) never retries
> ----------------------------------------------------------
>
>                 Key: WFWIP-278
>                 URL: https://issues.redhat.com/browse/WFWIP-278
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: MP Fault Tolerance
>            Reporter: Miroslav Novak
>            Assignee: Radoslav Husar
>            Priority: Major
>
> if method in MP FT deployment is annotated by {{@Retry(maxRetries = -1)}} then it should it should retry forever until the method returns without exception. However it does not work. 
> Actual result: Exception is thrown from annotated {{@Retry(maxRetries = -1)}}
> Expected result:  Retry forever until the method returns without exception.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list