As per this old message [1], you may want to try a linked binding:

bind(SequentialMultipartUploadStrategy.class).to(YourSubclass.class)

rather than binding MultipartUploadStrategy directly (which will produce the "duplicate binding" error you're seeing).

Or we could try to mess around with the default modules of AWSS3ApiMetadata [2], but this approach seems quicker and less complicated, if we can get it to work.

ap

[1] https://groups.google.com/d/msg/jclouds-dev/6HWZ2ZcTC3M/VHExCdhskHQJ
[2] https://github.com/jclouds/jclouds/blob/master/providers/aws-s3/src/main/java/org/jclouds/aws/s3/AWSS3ApiMetadata.java

Reply via email to