You probably need a FileDescriptorSet, which has the whole enchilada. --Chris
On Jul 23, 2010, at 12:08 PM, David <[email protected]> wrote: > I'm trying to send a self-describing message from a JMS producer to a > consumer. > > On the producer I have something like: > > Descriptor desc = builder.getDescriptorForType(); > DescriptorProto proto = desc.toProto(); > > Then I send the bytes of the proto and the bytes of the built object > (from builder). > > On the consumer side, I can't figure out how to take the > DescriptorProto I get on the wire and make a Descriptor out of it > which I can use to parse the bytes of the object using > DynamicMessage. I've seen one mention of using FileDescriptorProto, > but I'm not working with those... just DescriptorProto. > > Can someone point me in the right direction? > > Thanks, > -David- > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
