camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javamonkey79 <javamonke...@gmail.com>
Subject RE: camel sftp privateKeyFile - load from classpath
Date Thu, 20 Jun 2013 20:10:44 GMT
@Stephan - that is a bit over my head, perhaps I don't understand the sftp
component and jsch well enough yet. What I do know is that jsch is taking
the String param passed in via Camel (the fileName param) and turning that
in to a File, which I don't think will work with classpath resources? There
is a another method in the jsch Util class that loads in by bytes instead -
or perhaps camel is not calling the Util class at all, I'm not sure.

If someone could point me at the spot where camel hooks the keyfile in to
jsch I'd be happy to take a shot at improving it if possible. 



--
View this message in context: http://camel.465427.n5.nabble.com/camel-sftp-privateKeyFile-load-from-classpath-tp5734394p5734460.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message