Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.18.3, 3.19.0
-
None
-
Unknown
Description
This comes as a report from Michal Lück in a thread in Zulip chat:
??"... I might have discovered an issue with the camel smpp component. It seems that if the producer never had a valid connection, it tries maxReconnect times to establish the connection but if those retries fail the BackgroundTask is looping and never returning. (similar behavior as in https://issues.apache.org/jira/browse/CAMEL-17472) ??
I created a little example project to demonstrate my problem: https://github.com/thuri/smpp-test"
Subsequently explained as:
" ... I think the Problem is actually in the BackgroundTask class.
??If the Budget for the task is created without maxDuration but with maxIterations, the scheduled task will never be canceled and run forever. It will only execute the actual delegate method (booleanSupplier) exactly maxIteration times but the task is still rescheduled doing nothing but logging a warning that the Budget has been consumed completely ..." ??