Improve cache sample
Clarify the cache sample and in particular that Infinispan does not bootstrap with a default configuration file. Hence the custom `infinispan.xml` configuration is enabled by default if Infinispan is available on the classpath. See gh-9417
This commit is contained in:
@@ -85,9 +85,8 @@ TIP: Run sample cache application using Hazelcast with
|
||||
=== Infinispan
|
||||
Add the `org.infinispan:infinispan-spring4-embedded` dependency to enable support for
|
||||
Infinispan. There is no default location that Infinispan uses to look for a config
|
||||
file so if you don't specify anything it will bootstrap on a hardcoded default. You
|
||||
can set the `spring.cache.infinispan.config` property to use the provided
|
||||
`infinispan.xml` configuration instead.
|
||||
file so this sample is configured to use a the provider `infinispan.xml` configuration
|
||||
file specified via the `spring.cache.infinispan.config` property.
|
||||
|
||||
TIP: Run sample cache application using Infinispan with
|
||||
`$mvn spring-boot:run -Pinfinispan`.
|
||||
|
||||
Reference in New Issue
Block a user