Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16207

Application caches throw marshalling exceptions when using deployment classes for keys or values

XMLWordPrintable

      Because Infinispan marshallers are scoped to the embedded/remote cache container, an injected cache cannot use deployment classes as keys or values as the container marshaller will not know how to marshal these classes.

      To fix this, Cache/RemoteCache that WF exposes to applications be a decorator that internally maps keys and values using marshalled values using a marshaller created from the TCCL.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: