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

Camel-AWS: S3 autocloseBody option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.18.2, 2.19.0
    • camel-aws
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: