Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E68D6365 for ; Mon, 20 Jun 2011 19:57:11 +0000 (UTC) Received: (qmail 86586 invoked by uid 500); 20 Jun 2011 19:57:10 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 86545 invoked by uid 500); 20 Jun 2011 19:57:10 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 86510 invoked by uid 99); 20 Jun 2011 19:57:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 19:57:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 19:57:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AF02442582A for ; Mon, 20 Jun 2011 19:56:47 +0000 (UTC) Date: Mon, 20 Jun 2011 19:56:47 +0000 (UTC) From: "Brendan Long (JIRA)" To: dev@camel.apache.org Message-ID: <338567504.22293.1308599807713.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1144612190.22292.1308599807685.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-4126) S3Producer does not use CamelAwsS3ContentLength or CamelAwsS3ContentType MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brendan Long updated CAMEL-4126: -------------------------------- Component/s: (was: camel-atom) camel-aws > S3Producer does not use CamelAwsS3ContentLength or CamelAwsS3ContentType > ------------------------------------------------------------------------ > > Key: CAMEL-4126 > URL: https://issues.apache.org/jira/browse/CAMEL-4126 > Project: Camel > Issue Type: Improvement > Components: camel-aws > Affects Versions: 2.8.0 > Reporter: Brendan Long > Priority: Minor > > With InputStreams, Amazon's Java libraries aren't able to generate the content length or content type, and we get warnings like this: > WARN AmazonS3Client - No content length specified for stream data. Stream contents will be buffered in memory and could result in out of memory errors. > Not including the content type means S3 will be serving the uploaded file as generic binary. > Since there are already Camel headers for this, I'm proposing that they be used when sending messages to S3. I can write a patch for this if it would help. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira