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

RemoteCacheConfigurationBuilder only implements Builder

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 11.0.0.Final
    • Remote Protocols
    • 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");

              Unassigned Unassigned
              dnaro@redhat.com Donald Naro
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: