2 Replies Latest reply on Feb 11, 2014 11:16 AM by Jaap Spiering

    How to configure a cloud cache loader

    Jaap Spiering Newbie

      I've been looking into ModeShape recently (most recent version, 3.7.1), which uses Infinispan 5.2.7.

      In one ModeShape example at modeshape-examples/modeshape-filesystem-store-example at master · ModeShape/modeshape-examples · GitHub

      Infinispan is configured to use a file system cache loader (BdbjeCacheStore). This example is working fine.


      Now, I'd like to see if I can get ModeShape (and thus Infinispan) to use cloud storage (Openstack Swift) as the cache loader. There is also an S3 and a Rackspace API for this blob storage, so it does sound like JClouds should be able to support this.

      Thing is, I can't seem to get it to work.


      In my Infinispan configuration file, what would I need to enter in order to enable JClouds to read from or write to my cloud storage?


             <loader class="org.infinispan.loaders.cloud.CloudCacheStore"





                     <property name="identity" value="username"/>

                     <property name="password" value="password"/>

                     <property name="bucketPrefix" value="252"/>

                     <property name="requestTimeout" value="20000"/>

                     <property name="cloudService" value="??"/>

                     <property name="secure" value="true"/>

                     <property name="compress" value="true"/>









      or is this not yet supported? Unfortunately, the 5.3.X documentation seems quite limited on this subject: http://infinispan.org/docs/5.3.x/user_guide/user_guide.html#_cloud_cache_loader


      • cloudService - The cloud service to use. Supported values are s3 (Amazon AWS), cloudfiles (Rackspace Cloud), azureblob (Microsoft Azure), and atmos (Atmos Online Storage Service).


      Any pointers would be much appreciated.


      kind regards,