]
Galder Zamarreño commented on HRJS-41:
--------------------------------------
There's a workaround available actually:
You can configure the Java Hot Rod client to use a marshaller that produces UTF-8 String
representations, in which case, the Node.js client would be able to read data fine.
E.g.
{code}
import org.infinispan.commons.marshall.StringMarshaller;
import org.infinispan.client.hotrod.configuration.ConfigurationBuilder;
...
ConfigurationBuilder clientBuilder = ...
clientBuilder.marshaller(new StringMarshaller(Charset.forName("UTF-8")));
{code}
String-only JBoss Marshaller for interop
----------------------------------------
Key: HRJS-41
URL:
https://issues.jboss.org/browse/HRJS-41
Project: Infinispan Javascript client
Issue Type: Feature Request
Reporter: Galder Zamarreño
{code}
<ttarrant> galderz, I think a very basic string-only marshaller for
the node.js client would have been a good idea
<ttarrant> galderz, rigazilla has done that for C++
<ttarrant> galderz, it basically produces a JBoss
Marshaller-compatible string
> ttarrant: yeah, maybe... gustavo's work around the corner though
<ttarrant> galderz, you're just lazy :)
> lol
> ttarrant: more than lazy, i was able to get all my demos working wo/
needing that, and no one till today has asked it really?
> ttarrant: i guess you refer to
https://developer.jboss.org/message/972736#972736 ?
<jbossbot> Title: Access jdg remote cache on nodejs | JBoss Developer
<ttarrant> galderz, yes :)
<ttarrant> galderz, because you didn't need interop
> ttarrant: yeah... think we agreed to leave it aside, but if
rigazilla has already done one that'd make things easier
{code}