Just to follow on the off chance that someone as stupid as myself
might be facing a similar issue in the future. As you implied in in
your first response, using GPB Text Format on the producing side
( which amounts to calling toString() ) and a C++ TextFormat on the
consuming side will indeed work. This code writes, and reads
corresponding GPB text representations repectively.
1) To illustrate with a code snippet (Java producer)
TextMessage tm = session.createTextMessage(); //JMS
tm.setText(person.toString()); //person is a GPB
2) On the consuming side ( in C++ )
TextFormat:parseFromString(dataString, &person);
Where "dataString" is the TextMessage payload, successfully creates a c
++ person. Simplest thing should have heen tried first. Thanks
On Oct 6, 2:28 pm, Jason Hsueh <
jas...@google.com> wrote:
> > > >
http://groups.google.com/group/protobuf?hl=en.-Hide quoted text -