davsclaus commented on PR #11102: URL: https://github.com/apache/camel/pull/11102#issuecomment-1677334303
Thanks for helping with this. But I would like to do this in a more stable way without all the complexity of schedule/cancel a task. Instead we just have a single background task that runs periodically every X interval. It has an internal queue with the current exchanges that are inflight. Then if the queue is empty it does nothing. Otherwise it sends a batch request to AWS. Also how how long time to extend can just be a fixed amount, as the task is scheduled to run also in fixed interval. Then we can have 2 options the end user can control. - delay between extend task runs - how long time to extend -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org