]
Gustavo Fernandes commented on ISPN-11980:
------------------------------------------
The issue is actually using storageType(HEAP): storageType() is deprecated and HEAP is a
replacement for OBJECT
Storage type HEAP default encoding should be
application/x-java-object
----------------------------------------------------------------------
Key: ISPN-11980
URL:
https://issues.redhat.com/browse/ISPN-11980
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 11.0.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Fix For: 11.0.0.Final
Storage type {{HEAP}} is supposed to be a replacement for {{OBJECT+BINARY}}, storing
POJOs in the data container by default but allowing the user to store serialized keys and
values by configuring an encoding other than {{application/x-java-object}}.
The current {{StorageConfigurationManager}} code doesn't work like that, and the
default encoding for {{HEAP}} storage is the user marshaller's media type (by default
{{application/x-protostream}}).