Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-2050

Caches created via Hot Rod ignore media type configuration

XMLWordPrintable

    • CR1
    • Hide
      String xml = String.format(
                  "<infinispan><cache-container>" +
                        "<distributed-cache name=\"%s\">" +
                        "<encoding>" +
                        "<key media-type=\"text/plain\"/>" +
                        "<value media-type=\"application/x-jboss-marshalling\"/>" +
                        "</encoding>" +
                        "</distributed-cache>" +
                        "</cache-container></infinispan>", cacheName);
      remoteCacheManager.administration().createCache(cacheName, new XMLStringConfiguration(xml));
      
      Show
      String xml = String .format( "<infinispan><cache-container>" + "<distributed-cache name=\" %s\ ">" + "<encoding>" + "<key media-type=\" text/plain\ "/>" + "<value media-type=\" application/x-jboss-marshalling\ "/>" + "</encoding>" + "</distributed-cache>" + "</cache-container></infinispan>" , cacheName); remoteCacheManager.administration().createCache(cacheName, new XMLStringConfiguration(xml));

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            gfernand@redhat.com Gustavo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: