You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ulrik Sandberg <ul...@jayway.com> on 2015/04/09 14:31:59 UTC

Validate gzipped CSV without changing it

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 marshal with gzip?

-- 
Ulrik

Re: Validate gzipped CSV without changing it

Posted by Claus Ibsen <cl...@gmail.com>.
There is stream caching
http://camel.apache.org/stream-caching.html

On Thu, Apr 9, 2015 at 2:31 PM, Ulrik Sandberg
<ul...@jayway.com> wrote:
> 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 marshal with gzip?
>
> --
> Ulrik



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Re: Validate gzipped CSV without changing it

Posted by yogu13 <yo...@gmail.com>.
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-tp5765510p5765521.html
Sent from the Camel - Users mailing list archive at Nabble.com.