Re: How to implement DataFormat

2017-05-04 Thread Claus Ibsen
Hi Its up to you how you implement your own data formats. Camel uses the DataFormat API that has marshal and unmarshal operations. Whatever you do there is up to you. >From your email it sound like you mix up a few things and its a bit hard to explain in an email. The aggreagator EIP is the guy

How to implement DataFormat

2017-04-28 Thread David Hoffer
We have several DataFormat implementations that handle a variety of compression algorithms. We use these as beans in routes to marshal/unmarshal. Here is an example unmarshal: where zip is our Zip DataFormat implementation bean. ${file:name} regex 'obs-.*\.zip' ${header.C