camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kchrs <kchrs2...@gmail.com>
Subject FTP Camel Unzipping functionality not present
Date Wed, 02 Nov 2016 13:50:17 GMT
Hello, 

I am working on a project that I have to send binary (kind of large) files
programmatically to another server and I chose to use camel ftp component
(end to end). I also use the zip and the aggregation functionality that
comes with and send them over to the other end point (server). My problem is
while unzipping the files using the code as described here. 
https://camel.apache.org/zip-file-dataformat.html
<https://camel.apache.org/zip-file-dataformat.html>  . 

The unzipping functionality described in the above link do not work. 

The below code snippet which supposingly unzips the files is not working due
to the fact that UnZippedMessageProcessor class is not present in camel core
library (the article specifies that this functionlity is included). 

""*from("file:src/test/resources/org/apache/camel/dataformat/zipfile?consumer.delay=1000&noop=true")
  .split(new ZipSplitter())
     .streaming()
     .process(new UnZippedMessageProcessor())
  .end();*""

The required (zip) pom dependency is also included. I am using camel version
2.18.0 and you mention on that page that zip functionality is "Available
since Camel 2.11.0". It looks like something is missing

Thanks,

kostas


Thanks, 

Kostas






--
View this message in context: http://camel.465427.n5.nabble.com/FTP-Camel-Unzipping-functionality-not-present-tp5789643.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message