S3Constants.PROPERTY_POOL_MAX_CONNECTIONS, config
.getMaxConnections()
+ "");
// TODO proxy host/port
Module loggingModule = org.infinispan.util.logging.LogFactory.IS_LOG4J_AVAILABLE ? new Log4JLoggingModule()
: new JDKLoggingModule();
this.context = S3ContextFactory.createS3Context(properties,
new HttpNioConnectionPoolClientModule(), loggingModule);
this.s3Service = context.getConnection();
if (this.s3Service == null) {
throw new S3ConnectionException("Could not connect");