]
Galder Zamarreño updated ISPN-9184:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.3.0.Final
Resolution: Done
Remove compat mode from Remote Listener
---------------------------------------
Key: ISPN-9184
URL:
https://issues.jboss.org/browse/ISPN-9184
Project: Infinispan
Issue Type: Sub-task
Components: Listeners
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 9.3.0.Final
Remote Listeners uses compat mode checks in plenty of places to convert between storage
and pojo format, and apart from that, there is a cache manager wide "event
marshaller" used to unmarshal params for filters used in events, falling back to
GenericJbossMarshaller when the marshaller is not set.
It should not use a global marshaller and should not hardcode JbossMarshaller, instead
the remote listener themselves should have a mechanism of choosing the format of the data,
similar to "useRawData" (where one can choose to receive events in a marshalled
or unmarshaled way). One way of doing it is to supply a MediaType in the listener with the
desired format.