activemq-users mailing list archives

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


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,
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message