[infinispan-issues] [JBoss JIRA] (ISPN-10549) Provide Externalizer aware Serialization marshaller as default user marshaller
Ryan Emerson (Jira)
issues at jboss.org
Fri Sep 13 10:43:03 EDT 2019
[ https://issues.jboss.org/browse/ISPN-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Emerson closed ISPN-10549.
-------------------------------
Resolution: Won't Fix
As the protostream marshaller will be the default for Embedded mode, https://issues.jboss.org/browse/ISPN-10591, this is no longer necessary. If a user requires Externalizers to be respected by the PersistenceMarshaller then the `infinispan-jboss-marshalling` module must be added to the classpath.
> Provide Externalizer aware Serialization marshaller as default user marshaller
> ------------------------------------------------------------------------------
>
> Key: ISPN-10549
> URL: https://issues.jboss.org/browse/ISPN-10549
> Project: Infinispan
> Issue Type: Sub-task
> Components: Marshalling
> Affects Versions: 10.0.0.CR1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.CR2
>
>
> In ISPN-10354 we removed jboss-marshalling from the core and made {{JavaSerializationMarshaller}} the default user marshaller instead of {{JBossUserMarshaller}}. Consequently, externalizers are only respected by the {{GlobalMarshaller}}, meaning that when store's marshall objects via {{InitializationContext::getPersistenceMarshaller}} any user configured externalizers are not used for serialising user types.
> We should provide a {{ExternalizerAwareSerializationMarshaller}} that first tries to serialize user types via any configured externalizers before defaulting to java Serialization.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the infinispan-issues
mailing list