Hi Ayose, I haven’t tried it, but I don’t think that it will work, since the akka protobuff serializer is working with the Message interface, and MessageLite is implemented by Message, not the other way around.
Also the akka protobuff deserializer looks for a parseFrom method in the generated class (as generated by protobuff) and I’m not sure that ScalaBuff generates that. B/ On 7 February 2014 at 06:15:59, Ayose Cazorla ([email protected]) wrote: Hi people, In the default configuration, the serializer for ProtocolBuffer is enabled with akka { actor { serialization-bindings { "com.google.protobuf.GeneratedMessage" = proto ... However, the ScalaBuff generates classes with GeneratedMessageLite (code for the generator). Is it safe to add the following lines? akka.actor.serialization-bindings { "com.google.protobuf.GeneratedMessageLite" = proto } -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out. -- Björn Antonsson Typesafe – Reactive Apps on the JVM twitter: @bantonsson -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
