Author: chirino
Date: Wed Feb 29 15:40:32 2012
New Revision: 1295156

URL: http://svn.apache.org/viewvc?rev=1295156&view=rev
Log:
Stay backward compatible with Apollo 1.0 so you can store import/export between 
the 2 versions.

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/proto/data.proto

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/proto/data.proto
URL: 
http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/proto/data.proto?rev=1295156&r1=1295155&r2=1295156&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/proto/data.proto 
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/proto/data.proto Wed 
Feb 29 15:40:32 2012
@@ -25,8 +25,10 @@ option java_multiple_files = true;
 message MessagePB {
   required int64 messageKey=1;
   required bytes protocol = 2 [java_override_type = "AsciiBuffer"];
+  optional int32 size = 3;
   optional bytes value = 4;
-  optional int32 compression = 5;
+  optional sint64 expiration = 5;
+  optional int32 compression = 6;
   
   optional bytes direct_data = 10;
   optional bytes direct_file = 12;


Reply via email to