[infinispan-issues] [JBoss JIRA] (ISPN-10549) Provide Externalizer aware Serialization marshaller as default user marshaller

Ryan Emerson (Jira) issues at jboss.org
Wed Sep 4 12:36:00 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-10549:
--------------------------------
    Status: Open  (was: New)


> 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