camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baklarz <>
Subject Proper way to process route protobuf/protocolbuffers
Date Fri, 15 Jul 2011 07:48:36 GMT
I get protobuf objects from activemq queue. I get messages in byte[] from
I generate class from *.proto files ?

public void(byte [] message) {
   PostEventProto.PostEvent postEvent =
   /*some stupid code to transform to json*?

Can I use <route> instead of code above ? Do I have transform byte[] to
object and than to JSON or can I transform from protobuf to json ?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message