Federico Mariani created CAMEL-23646:
----------------------------------------

             Summary: 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-pgevent, camel-master, camel-sjms, camel-sjms2
    Affects Versions: 4.20.0, 4.18.2
            Reporter: Federico Mariani
            Assignee: Federico Mariani
             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