5 Replies Latest reply on Oct 9, 2015 3:03 AM by nadirx

    How to view and edit infinispan cache data remotely

    sujithps

      I have configured infinispan cache embedded with wildfly8.2 server.

      For that I added the below entry in my standalone.xml

      <cache-container name="mycache" default-cache="cachedb">

      <transport lock-timeout="600000"/>

      <replicated-cache name="cachedb" batching="true" mode="SYNC"/>

      </cache-container> 

      inside <subsystem xmlns="urn:jboss:domain:infinispan:2.0">

      And I injected the same to one newly created class

      @Singleton @Startup public class CacheManager {

         @Resource(lookup = "java:jboss/infinispan/container/mycache")

        private CacheContainer container;

      . . . .

      }

      I am able to use cache in my applications.

      But the requirement is I need to see/edit/delete the cached data remotely by using any of the cache monitoring APIs.

      Via jconsole I am able see the cache information , but not the cached data.

       

      jconsole screen

       

      How can I connect and access to the cache remotely ?