Re: Add a DataFormat programatically

2017-01-01 Thread rhuffman
​Well, this is embarrassing. I did not realize the implementation of the ProtobufDataFormatDefinition was in a separate jar I needed to add as a dependency. Carry on. -- View this message in context: http://camel.465427.n5.nabble.com/Add-a-DataFormat-programatically-tp5792031p5792037.html

Add a DataFormat programatically

2017-01-01 Thread Robert Huffman
I'm having trouble adding the ProtobufDataFormat to a route. I have ActiveMQ BytesMessages whose bodies are Protobuf messages. The documentation (http://camel.apache.org/protobuf.html) certainly looks straightforward, so here's what I have: ProtobufDataFormat protobufFormat = new ProtobufData