You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by fidoedidoe <ga...@sagepub.co.uk> on 2015/02/22 10:35:48 UTC

Enabling SFTP URI Option "Compression" (via JSCH zlib JAR)

Hi

An easy question for some i suspect. 

I'm pretty new to Camel (implemented via Service Mix 5.4.0) and I'm
struggling to leverage the SFTP URI option "compression" (forms port of the
FPT2 Component:  Link <http://camel.apache.org/ftp2.html>  )

The documentation Reads: "...You must manually add the needed JSCH zlib JAR
to the classpath for compression support." I've downloaded the jar file from
Maven (jzlib-1.1.3.jar) but I'm not entirely sure where the jar file should
reside (within my servicemix installation) folder structure. 

I'm using camel (2.14.1) from within apache servicemix (5.4.0). Am i right
in thinking that placing the jzlib-1.1.3.jar in:
/[servicemix_installation_folder]/lib/ is the most appropriate place for
this file or is there a more suitable location. My installation is Linux
(Ubuntu 14.04). 

many thanks!




--
View this message in context: http://camel.465427.n5.nabble.com/Enabling-SFTP-URI-Option-Compression-via-JSCH-zlib-JAR-tp5763042.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Enabling SFTP URI Option "Compression" (via JSCH zlib JAR)

Posted by fidoedidoe <ga...@sagepub.co.uk>.
Hi Reji 

Many thanks for the advice. I wasn't aware of the osgi wrap feature. This
sounds like it matches my requirement. 

Many thanks!!





--
View this message in context: http://camel.465427.n5.nabble.com/Enabling-SFTP-URI-Option-Compression-via-JSCH-zlib-JAR-tp5763042p5763085.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Enabling SFTP URI Option "Compression" (via JSCH zlib JAR)

Posted by Reji Mathews <co...@gmail.com>.
Hey Mr Fowler

I had a similar requirement where I had to do a jdbc connectivity with
Oracle DB. Multiple projects had to access this jar.

I did a osgi wrap on the jar and deployed it. Alternatively u can use the
plug in development utility in Jboss developer studio to create an OSGI
compliant jar containing MANIFEST file with necessary packages exported and
hot deploy it.

Not sure though if that's the best practice .

Cheers
Reji
On 22 Feb 2015 15:22, "fidoedidoe" <ga...@sagepub.co.uk> wrote:

> Hi
>
> An easy question for some i suspect.
>
> I'm pretty new to Camel (implemented via Service Mix 5.4.0) and I'm
> struggling to leverage the SFTP URI option "compression" (forms port of the
> FPT2 Component:  Link <http://camel.apache.org/ftp2.html>  )
>
> The documentation Reads: "...You must manually add the needed JSCH zlib JAR
> to the classpath for compression support." I've downloaded the jar file
> from
> Maven (jzlib-1.1.3.jar) but I'm not entirely sure where the jar file should
> reside (within my servicemix installation) folder structure.
>
> I'm using camel (2.14.1) from within apache servicemix (5.4.0). Am i right
> in thinking that placing the jzlib-1.1.3.jar in:
> /[servicemix_installation_folder]/lib/ is the most appropriate place for
> this file or is there a more suitable location. My installation is Linux
> (Ubuntu 14.04).
>
> many thanks!
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Enabling-SFTP-URI-Option-Compression-via-JSCH-zlib-JAR-tp5763042.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>