0 Replies Latest reply on Jun 19, 2014 12:31 PM by Dhananjay Patkar

    Infinispan SingleFileStore and restart-recovery

    Dhananjay Patkar Newbie

      I am using Infinispan 6.0.1.Final with SingleFileStore , my cache configuration is as follows

       

      <namedCache name="MyCache">
      <persistence passivation="true">
        
      <singleFile fetchPersistentState="true"
        ignoreModifications
      ="false"
        purgeOnStartup
      ="false" maxEntries="5000">
        
      </singleFile>
       
      </persistence>

      </namecache>

      My CacheManager is a JMSListener, which listens to the queue. Once there is a message in queue it updates the cache.

       

      I have a  scenarion wherein, my cache server restarts, I need to make sure I have not lost any message during restarts.

       

      Is this scenario achievable using SingleFileStore? If yes then how? If not then whats the alternative?

       

      Please advice!