[
https://issues.jboss.org/browse/ISPN-7991?page=com.atlassian.jira.plugin....
]
Gustavo Fernandes edited comment on ISPN-7991 at 7/7/17 10:37 AM:
------------------------------------------------------------------
[~mgencur] I want to achieve better usability, see \[1\].
If there's a way to make it work, great, I'd like to avoid changing compat mode
since it's going to be removed soon.
I haven't actually test this, but the two ways It could probably work is:
* Set the StringMarshaller in the HR client, and set StringMarshaller as compat mode
marshaller in the server EDIT: it would marshall both keys and values, but rest stores
keys as String, so it'd probably not work
* Do not use compat mode at all ( :) ), set the StringMarshaller in the HR client and
always deal with byte[] on both endpoints EDIT: rest ignores compat marshaller so it'd
probably not work
If either of those 2 happens to work, in any case if I am using curl I already have my
content as text, requiring me to produce a binary out of it is not good.
\[1\]
https://developer.jboss.org/message/973741?et=watches.email.thread#973741
was (Author: gustavonalle):
[~mgencur] I want to achieve better usability, see \[1\].
If there's a way to make it work, great, I'd like to avoid changing compat mode
since it's going to be removed soon.
I haven't actually test this, but the two ways It could probably work is:
* Set the StringMarshaller in the HR client, and set StringMarshaller as compat mode
marshaller in the server;
* Do not use compat mode at all ( :) ), set the StringMarshaller in the HR client and
always deal with byte[] on both endpoints
If either of those 2 happens to work, in any case if I am using curl I already have my
content as text, requiring me to produce a binary out of it is not good.
\[1\]
https://developer.jboss.org/message/973741?et=watches.email.thread#973741
Compatibility between Rest and HotRod not working on both ways
--------------------------------------------------------------
Key: ISPN-7991
URL:
https://issues.jboss.org/browse/ISPN-7991
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 8.2.7.Final, 9.1.0.Beta1, 9.0.3.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Writing via Hot Rod and reading via Rest works fine, but not the other way around
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)