You write a class need to implement the DataFormat interface. The two key calls are: marshal() and unmarshal() See here: http://camel.apache.org/data-format.html Looking at the code for some of the existing implementations of DataFormat should give you some ideas. For instance, you might come up with some type of annotation that you can use on your Java POJOs, describing how each of the fields should marshalled or unmarshalled. Then, your DataFormat implementation could use those annotations, and thus be quite general.
Maybe it can be contributed back to the Camel project :) -- View this message in context: http://camel.465427.n5.nabble.com/Unmarshal-fixed-length-Binary-data-tp5787125p5787603.html Sent from the Camel - Users mailing list archive at Nabble.com.