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

Caches created via Hot Rod ignore media type configuration

    XMLWordPrintable

Details

    • 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 (Inactive)
            gfernand@redhat.com Gustavo Fernandes (Inactive)
            Diego Lovison Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: