[ 
https://issues.apache.org/jira/browse/CAMEL-23646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Federico Mariani resolved CAMEL-23646.
--------------------------------------
    Resolution: Fixed

> BackgroundTask callbacks return inverted boolean in sjms, pgevent, and master 
> causing infinite retry loops after successful recovery
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-23646
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23646
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-master, camel-pgevent, camel-sjms, camel-sjms2
>    Affects Versions: 4.18.2, 4.20.0
>            Reporter: Federico Mariani
>            Assignee: Federico Mariani
>            Priority: Major
>             Fix For: 4.18.3, 4.21.0
>
>
> After commit {{0d861d06b5b8}} (CAMEL-22206), three components were migrated 
> from the old {{BackOff}} / {{BackOffTimer}} API to {{BackgroundTask}}. The 
> migration preserved the same callback return values, but the two APIs have 
> opposite boolean semantics. As a result, all three components return 
> {{false}} on success, telling {{BackgroundTask}} "not done, keep scheduling", 
> when they should return {{true}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to