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

Camel-AWS: S3 autocloseBody option

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.2, 2.19.0
    • Component/s: camel-aws
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Actually when we are using the includeBody with default value (true), it's up to the user to close the S3Object after it is completely consumed.

      This lead to problems, because each time an GetObjectRequest to S3 is done a connection is open and the connection pool is exhausted after a while. We can add this option and add the S3Object.close() call into a SynchronizationAdapter to pass to exchange.OnCompletion method.

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              acosentino Andrea Cosentino
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: