Re: Validate gzipped CSV without changing it

2015-04-09 Thread yogu13
wire tap <http://camel.apache.org/wire-tap.html> or multicast <http://camel.apache.org/multicast.html> components can help you in this. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Validate-gzipped-CSV-without-changing-it-tp5765510p57655

Validate gzipped CSV without changing it

2015-04-09 Thread Ulrik Sandberg
I need to validate the incoming gzipped CSV stream, but not change it, so that the next step can write the gzipped CSV to file (actually S3). Is there a nice pattern for this, like forking the stream or something, or do I have to unmarshal with gzip, unmarshal with csv, marshal with csv and finally