We are using camel-s3 to upload files to Amazon S3.  We are using
AmazonS3Client with the default configuration like below:-

AWSCredentials awsCredentials = new
BasicAWSCredentials("S3AccessKey","S3SecretKey";
ClientConfiguration clientConfiguration = new ClientConfiguration();
AmazonS3Client client = new AmazonS3Client(awsCredentials,
clientConfiguration);
...
jndi.bind("S3Client", client);

On profiling the app it seems most of the time SSLSocketImpl.writeRecord
(Please check the attached image). Can someone suggest some way in which we
can optimize the file upload time in camel? Is there a way we can do batch
upload of images to S3 using a single HTTP Call.

The files are small so multipart upload will not have much benefit. We are
on camel 2.16.1

Reply via email to