camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brendan Long (JIRA)" <>
Subject [jira] [Updated] (CAMEL-4126) S3Producer does not use CamelAwsS3ContentLength or CamelAwsS3ContentType
Date Mon, 20 Jun 2011 20:12:48 GMT


Brendan Long updated CAMEL-4126:

    Attachment: s3-content-length-and-type-patch.diff

Patch to use these headers

> S3Producer does not use CamelAwsS3ContentLength or CamelAwsS3ContentType
> ------------------------------------------------------------------------
>                 Key: CAMEL-4126
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-aws
>    Affects Versions: 2.8.0
>            Reporter: Brendan Long
>            Priority: Minor
>         Attachments: s3-content-length-and-type-patch.diff
> 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
> 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:


View raw message