[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:44:01 EDT 2019
[ https://issues.jboss.org/browse/ISPN-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784178#comment-13784178 ]
Ryan Emerson commented on ISPN-10549:
-------------------------------------
Branch with code if ever required: https://github.com/ryanemerson/infinispan/tree/ISPN-10549-EnableProtostreamNoSCI-ExternalizerAwareUserMarshaller
> 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