1 Reply Latest reply on Mar 8, 2013 4:40 AM by tabris

    customizing ApacheAvroMarshaller

    tabris Newbie

      Hi,

       

      As far as I know, RemoteCacheManager configure the Marshaller via reflection i.e.

      props.put("infinispan.client.hotrod.marshaller", "org.infinispan.client.hotrod.marshall.ApacheAvroMarshaller");

      m = new RemoteCacheManager(props);

       

      Now I want to create a customize ApacheAvroMarshaller (that optionally load in a JSON schema to serialize the custom object). I want to make that customized marhsaller to have an a method call load(JsonSchema) and then pass to the RemoteCacheManager. Is there anyway to do that?

       

      Thanks,