Andrea Cosentino created CAMEL-10729:
----------------------------------------
Summary: Camel-AWS: S3 autocloseBody option
Key: CAMEL-10729
URL: https://issues.apache.org/jira/browse/CAMEL-10729
Project: Camel
Issue Type: Improvement
Components: camel-aws
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
Fix For: 2.19.0
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)