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

Details

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

    Attachments

      Issue Links

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: