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

Caches created via Hot Rod ignore media type configuration

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

XMLWordPrintable

    • 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)
            Archiver:
            rhn-support-adongare Amol Dongare
            Diego Lovison Diego Lovison

              Created:
              Updated:
              Resolved:
              Archived: