I want to use Infinispan as a directory provider for Hibernate Search and persist the data.
I am using JPA2 , JBoss 7.1.1.Final.
I would like to use standalone.xml so that all modules of my project can use the same config. (project has multiple modules each having their own persistance.xml ,pom etc)
I als tried the other option of having an infinispan-config file, problems :
It forces me to enable invocation batching and set transaction mode to true
ADditionally it forces me to declare them in a default cache and then gives an error that default cache is already registered on deployment of another module. <default> is not wrtten in the second module's infinispan config
THis approach is not clean as every module ends up having its own cache. This is thus a temporary structure