On 12/5/18 9:44 AM, Gunnar Morling wrote:
Hey,
I was trying to configure and inject an Infinispan cache through CDI,
running on WildFly 14, using the Infinispan modules provided by the
server.
While I'm not sure whether that's something supported or recommended,
I found this preferable over adding Infinispan another time as part of
the deployment. I couldn't find any recent info on doing this (would
love any pointers, though), so here's my findings, in case it's
interesting for others:
You should not be using the Infinispan subsystem that comes with WildFly
as its configuration capabilities are a bit limited, but the modules we
supply:
http://infinispan.org/docs/stable/user_guide/user_guide.html#infinispan_m...
Btw. I also couldn't find an example for configuring a cache
through
jboss-cli.sh, perhaps that's something to consider, too?
Yes, that should be added.
Tristan