[infinispan-issues] [JBoss JIRA] (ISPN-9634) Deprecate useRawData from remote listeners

Dan Berindei (Jira) issues at jboss.org
Thu Dec 13 10:37:00 EST 2018


    [ https://issues.jboss.org/browse/ISPN-9634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13674396#comment-13674396 ] 

Dan Berindei commented on ISPN-9634:
------------------------------------

{{useRawData}} also controls how the converter parameters are passed to the factory. It should be possible to change the format of the parameters independently of the value format.

> Deprecate useRawData from remote listeners
> ------------------------------------------
>
>                 Key: ISPN-9634
>                 URL: https://issues.jboss.org/browse/ISPN-9634
>             Project: Infinispan
>          Issue Type: Enhancement
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>            Priority: Major
>             Fix For: 10.0.0.Final
>
>
> Since remote listeners with converters and filters were introduced, it was assumed the user supplied implementations would receive "unmarshalled" data to operate. 
> A parameter on the remote listener annotation itself called "useRawData" was later introduced to provide a way for filters/converters to use data as it was stored (i.e., without unmarshalling)
> Since transcoders were introduced, the choice of format for listeners and converters can be specified on the listeners/converters themselves in the format() method and should not rely on useRawData anymore.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list