It would be a good idea to add the compression to the SFTP component.
As it was suggested in this jira: https://issues.apache.org/jira/browse/CAMEL-4506 I'm attaching the class with an example how it might be done.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|23d 16h 18m||1||Claus Ibsen||30/Oct/11 10:24|
Daniel Kulp made changes -
|Fix Version/s||2.8.3 [ 12318649 ]|
Claus Ibsen made changes -
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Claus Ibsen [ davsclaus ]|
|Fix Version/s||2.9.0 [ 12316374 ]|
|Resolution||Fixed [ 1 ]|