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

Caches created via Hot Rod ignore media type configuration

    XMLWordPrintable

    Details

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      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));

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gustavonalle Gustavo Fernandes
                Reporter:
                gustavonalle Gustavo Fernandes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: