Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12382

FileConsumer - Allow to delay readLock release tasks on idempotent read-lock

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.22.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Under certain use-cases where you may use a shared file read-lock idempotent repository for a active/active cluster setup of consuming files from a shared directory, then you may have the idempotent repo setup as readlock strategy. And in this scenario you may want to delay the commit/rollback operation at the end, to expand the processing windows of the given file to avoid other nodes to potentially be able to pickup the file as well.

      This requires both a sync vs async way. So users can setup a scheduled thread pool that can delay the work for the commit/rollback so the same node can continue processing the next file.

      By default this should be turned off.

       

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: