Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12042

RemoteCacheConfigurationBuilder only implements Builder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.0.0.Final
    • Remote Protocols
    • None

    Description

      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");

      Attachments

        Activity

          People

            Unassigned Unassigned
            dnaro@redhat.com Donald Naro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: