You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2023/08/14 13:37:29 UTC

[GitHub] [camel] davsclaus commented on pull request #11102: CAMEL-19656 batch visibility extender task

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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org