You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Federico Mariani (Jira)" <ji...@apache.org> on 2026/05/29 12:26:00 UTC

[jira] [Updated] (CAMEL-23646) BackgroundTask callbacks return inverted boolean in sjms, pgevent, and master causing infinite retry loops after successful recovery

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

Federico Mariani updated CAMEL-23646:
-------------------------------------
    Summary: BackgroundTask callbacks return inverted boolean in sjms, pgevent, and master causing infinite retry loops after successful recovery  (was: BackgroundTask callbacks return inverted boolean in sjms, pgevent, and master — causing infinite retry loops after successful recovery)

> 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)