]
Gustavo Fernandes updated ISPN-9184:
------------------------------------
Component/s: Listeners
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
Remote Listeners uses compat mode checks in plenty of places to convert between storage
and pojo format, and apart from that have 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.