Re: [protobuf] Is there a reliable method to dynamically identify and lookup a message from both the Java and Java script API?

2016-06-06 Thread 'Feng Xiao' via Protocol Buffers
On Mon, Jun 6, 2016 at 2:07 AM, Keith Woods wrote: > Thanks for the reply. I agree, mapping from a generated class name isn't a > good idea. However just re-reading my initial post, while I mentioned my > use of the canonical name of the java Message, in fact this is really just > the proto packa

Re: [protobuf] Is there a reliable method to dynamically identify and lookup a message from both the Java and Java script API?

2016-06-06 Thread Keith Woods
Thanks for the reply. I agree, mapping from a generated class name isn't a good idea. However just re-reading my initial post, while I mentioned my use of the canonical name of the java Message, in fact this is really just the proto package name. It would be nice if metadata for the package name

Re: [protobuf] Is there a reliable method to dynamically identify and lookup a message from both the Java and Java script API?

2016-06-03 Thread 'Feng Xiao' via Protocol Buffers
On Fri, Jun 3, 2016 at 3:52 AM, Keith Woods wrote: > I'm trying to create a wrapper DTO whereby the inner payload could be > anything. The main consumer will be a router that has to handle the > deserialization and fan the message out to receiving services. To do this I > need a key to effectivel