-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
11.0.0.Final
-
None
RemoteCacheConfigurationBuilder only implements Builder so you can't chain config methods from its result.
For example, the following does not compile if you call remoteCache on the same builder:
{{.remoteCache("another-cache").configuration("<infinispan><cache-container><distributed-cache name=\"another-cache\"/></cache-container></infinispan>").remoteCache("my-cache").templateName("org.infinispan.DIST_SYNC");}}
This works:
builder.remoteCache("another-cache")
.configuration("<infinispan><cache-container><distributed-cache name=\"another-cache\"/></cache-container></infinispan>");
builder.remoteCache("my-cache")
.templateName("org.infinispan.DIST_SYNC");