[infinispan-issues] [JBoss JIRA] (ISPN-9634) Deprecate useRawData from remote listeners
Dan Berindei (Jira)
issues at jboss.org
Mon Dec 17 10:33:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-9634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675383#comment-13675383 ]
Dan Berindei commented on ISPN-9634:
------------------------------------
There's a converter used for JCache that should also be updated to avoid unmarshalling:
https://github.com/infinispan/infinispan/blob/08dd0c7fc64c581a8be800083db61855988639ed/server/hotrod/src/main/java/org/infinispan/server/hotrod/HotRodServer.java#L250
> 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