activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarjei Huse <tar...@scanmine.com>
Subject Protobuf usage question: Difference between framed and unframed buffers
Date Tue, 29 Dec 2009 14:11:31 GMT

Hi, 

I'm trying to use the new Activemq protobuf package and find the
documentation a bit sparse, therefore this message.

In the API I can choose between framed and unframed versions of the
different marshalling /unmarshalling methods and I have found out that they
are not interoperable, i.e. that I cannot do :

byte[] byteBuffer = object.toframedByteArray();
MyClass obj2 = MyClass.parseUnframed(byteBuffer);

What is the difference between the two formats? Which is directly related to
the standard Protobuf format? I.e. which of the two can I be sure will be
parsed correctly by a different protobuf client?

Kind regards,
Tarjei
-- 
View this message in context: http://old.nabble.com/Protobuf-usage-question%3A-Difference-between-framed-and-unframed-buffers-tp26955008p26955008.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message