[ https://issues.apache.org/jira/browse/CAMEL-10729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-10729. --------------------------------- Resolution: Fixed Fix Version/s: (was: 2.18.3) 2.18.2 > 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, 2.18.2 > > > 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.15#6346)