2 Replies Latest reply on Feb 11, 2014 11:20 AM by renato.ibanhez

    Configure Infinispan 5 server with a noSQL store

    renato.ibanhez

      Hello everybody!

       

      I'm using the Infinispan 5.3 in my company, but I am having some troubles to configure a noSQL datasource.

      "Googling" about, I did not find nothing about this point. It appears that the clustered.xml does not support a noSQL store. Looking at store types, according to the infinispan's XSD, there are only stores that use JDBC (like string-keyed-jdbc-store, binary-keyed-jdbc-store, mixed-keyed-jdbc-store).

       

      Is there anybody that went through this situation? Is there a way to configure the infinispan to use a noSQL store?

       

      Thanks anyway!

        • 1. Re: Configure Infinispan 5 server with a noSQL store
          nadirx

          Hi Renato,

           

          File, JDBC, Remote, LevelDB and REST are the only ones officially supported by our server configuration. You can however deploy other stores to the server as modules and use the "custom store" syntax:

           

          <store class="org.infinispan.blah.MyCacheStore">

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

          </store>

           

          Tristan

          • 2. Re: Configure Infinispan 5 server with a noSQL store
            renato.ibanhez

            Hi Tristan!!

            Thanks for the answer!

             

            I implemented the custom store class, this class implement the AdvancedLoadWriteStore but I don't know how to make the jboss take knowledge of its existence.

             

            Here will go some questions:

             

            How the properties will be sent to this class?

            I saw your example, but I didn't understand very well. Do I have only to put this piece of code in clustered.xml?

             

            Thanks for your help again!