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

Make creating remote caches out of XML more user friendly

    XMLWordPrintable

Details

    Description

      When it comes to the XML to use to create a cache remotely, we should be able to do just this:

      createCache("my-cache", "<local-cache />");
      

      There are a couple of issues with this right now:

      1. You need to pass in <infinispan><cache-container>...</cache-container></infinispan>

      2. The cache in the XML needs a name. This should be needed. The name of the cache is already given as 1st parameter to createCache and others. In fact, probably any cache name in the XML itself (since it's a valid attribute), should be ignored.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: