[infinispan-issues] [JBoss JIRA] (ISPN-11980) Storage type HEAP default encoding should be application/x-java-object

Gustavo Fernandes (Jira) issues at jboss.org
Thu Jun 11 14:29:17 EDT 2020


    [ https://issues.redhat.com/browse/ISPN-11980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150673#comment-14150673 ] 

Gustavo Fernandes edited comment on ISPN-11980 at 6/11/20 2:26 PM:
-------------------------------------------------------------------

The issue is actually using 

{{storageType(HEAP)}}  

{{storageType()}} is deprecated and {{HEAP}} is a replacement for {{OBJECT}}


was (Author: gustavonalle):
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}}).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the infinispan-issues mailing list