[infinispan-issues] [JBoss JIRA] (ISPN-10549) Provide Externalizer aware Serialization marshaller as default user marshaller
Ryan Emerson (Jira)
issues at jboss.org
Mon Sep 2 10:32:00 EDT 2019
Ryan Emerson created ISPN-10549:
-----------------------------------
Summary: 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
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