This content has been marked as final.
Show 2 replies
-
1. Re: Registering marshallers on the SerializationContext
van.halbert May 15, 2014 12:55 PM (in response to van.halbert)And to confirm, the protofile is being registered just prior to the above:
ctx.registerProtofile(InfinispanManagedConnectionFactory.class
.getClassLoader().getResourceAsStream(
config.getProtobinFile()));
-
2. Re: Registering marshallers on the SerializationContext
van.halbert May 15, 2014 1:44 PM (in response to van.halbert)Kinda strange, but I got it to work. For what ever reason, the registering of the protofile by calling the above InputStream wasn't working, but no exception was being thrown. Not until I changed it to the correct class (InfinispanConnectionImpl) did it read it correctly and the marshallers were able to register.
ctx.registerProtofile(InfinispanConnectionImpl.class
.getClassLoader().getResourceAsStream(
config.getProtobinFile()));
Sorry to waist your time.