[infinispan-issues] [JBoss JIRA] (ISPN-7991) Compatibility between Rest and HotRod not working on both ways
Gustavo Fernandes (JIRA)
issues at jboss.org
Fri Jul 7 10:34:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432985#comment-13432985 ]
Gustavo Fernandes commented on ISPN-7991:
-----------------------------------------
[~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)
More information about the infinispan-issues
mailing list