RE: Camel SFTP Consumer with AsyncProcessor

2023-10-24 Thread Shenavai, Manuel
18:50 To: users@camel.apache.org Subject: Camel SFTP Consumer with AsyncProcessor Hi everyone, we are currently using Camel 3.14. We see parallel processing in the SFTP consumer if the route contains a Async Processor. This is a big problem because the SFTP client is not thread safe. The good

Camel SFTP Consumer with AsyncProcessor

2023-10-24 Thread Shenavai, Manuel
Hi everyone, we are currently using Camel 3.14. We see parallel processing in the SFTP consumer if the route contains a Async Processor. This is a big problem because the SFTP client is not thread safe. The good part is, that this problem is already solved in Camel 2.21. Unfortunately I could

Re: Issue with Camel SFTP localworkdirectory with multicast

2022-03-23 Thread thomas wong
From: Claus Ibsen Sent: Wednesday, March 23, 2022 6:04 AM To: users@camel.apache.org Subject: Re: Issue with Camel SFTP localworkdirectory with multicast Hi Are destination1 and destination2 file endpoints? If they are then camel will optimize and rename the local file and so when

Re: Issue with Camel SFTP localworkdirectory with multicast

2022-03-22 Thread Claus Ibsen
Hi Are destination1 and destination2 file endpoints? If they are then camel will optimize and rename the local file and so when destination2 is executed then the file has been renamed and is not in the local directory anymore. If you really want to do this multicast and 2 file destinations then s

Issue with Camel SFTP localworkdirectory with multicast

2022-03-22 Thread thomas wong
Hi, I am having trouble getting the file pickup from SFTP site and delivered to multiple destinations. The destination1 able to successfully received the file. It seems when I use "localworkdirectory" the destination2 will not be able to receive any file. I noticed that when I removed the loca

Re: Camel SFTP - authentication with ssh privateKey

2021-07-14 Thread Zoran Regvart
gbt...@glue.brickftp.com:22 > … > Caused by: com.jcraft.jsch.JSchException: invalid privatekey > > After a bit of investigation I came across this StackOverflow > article<https://stackoverflow.com/questions/67937961/apache-camel-sftp-jschexception-invalid-privatekey-b7c033a39-with-o

Camel SFTP - authentication with ssh privateKey

2021-07-14 Thread Simon Loy
d by: com.jcraft.jsch.JSchException: invalid privatekey After a bit of investigation I came across this StackOverflow article<https://stackoverflow.com/questions/67937961/apache-camel-sftp-jschexception-invalid-privatekey-b7c033a39-with-openssh> and noted that put private key was an openssh key so took the use

Camel sftp starter 3.8.0 move on completion not working

2021-02-19 Thread Ranabroto Ghosh
http://camel.apache.org/schema/spring";> ${body} its print all the logs with name and address but after printing all Its throwing below exception org.apache.camel.component.file.GenericFileOperationFailedException: Cannot rename file from: test.txt to: home/gcfon

Camel SFTP aggregation in streaming mode

2020-12-14 Thread Florian.EIBL
Dear community, We have a problem (of understanding) concerning Camel streaming. In our use case we pick up 3 large files with Camel SFTP component (&streamDownload=true&stepwise=false). We aggregate the 3 files and write the aggregation per SFTP to a server. Due to the sizes of t

Re: Camel SFTP connection pooling

2020-12-02 Thread Claus Ibsen
Hi There is no shared connection pooling. Each ftp producer has its own connection that it can reuse for the next file to upload. On Wed, Dec 2, 2020 at 2:37 PM Michael Rambichler wrote: > > Hi together, > > > I’m interested in how the Camel SFTP component implements connectio

Camel SFTP connection pooling

2020-12-02 Thread Michael Rambichler
Hi together, I’m interested in how the Camel SFTP component implements connection pooling. Is there a default connection pool and if so, how does it work. I have to sftp a huge file amount in a short period of time and the destination server allows only very limited number of connections

RE: Does Camel-sftp (or JSCH) supports Dual Authentication?

2018-10-09 Thread Goyal, Arpit
18 4:33 AM To: users@camel.apache.org Subject: Re: Does Camel-sftp (or JSCH) supports Dual Authentication? Hi What do you mean precisely with dual, do you mean that an user should be authenticated with two different styles? At top of my head I dont think this is supported in the camel-ftp component

Re: Does Camel-sftp (or JSCH) supports Dual Authentication?

2018-09-20 Thread Claus Ibsen
, Arpit wrote: > > Any idea about this experts? > > -Original Message- > From: Goyal, Arpit > Sent: Wednesday, September 5, 2018 3:55 PM > To: users@camel.apache.org > Subject: [CAUTION] Does Camel-sftp (or JSCH) supports Dual Authentication? > > Hi, > >

RE: Does Camel-sftp (or JSCH) supports Dual Authentication?

2018-09-11 Thread Goyal, Arpit
Any idea about this experts? -Original Message- From: Goyal, Arpit Sent: Wednesday, September 5, 2018 3:55 PM To: users@camel.apache.org Subject: [CAUTION] Does Camel-sftp (or JSCH) supports Dual Authentication? Hi, I was wondering if the Apache Camel SFTP component support Dual

Does Camel-sftp (or JSCH) supports Dual Authentication?

2018-09-05 Thread Goyal, Arpit
Hi, I was wondering if the Apache Camel SFTP component support Dual Authentication? Or maybe it is a question of whether JSCH supports the same or not. Any one tried this - because from documentation it looks like the first available option will be picked based on 'preferredAuthentica

Re: Can Camel sftp use sshj library?

2018-06-05 Thread Claus Ibsen
Hi No its not possible. You would need to copy the camel-ftp source code and change it yourself to use that other library. And then use your custom component. Also have you reported to JSCH about those newer chipers, maybe they have it working on their next release. On Wed, Jun 6, 2018 at 6:49 A

Can Camel sftp use sshj library?

2018-06-05 Thread Anu Madan
Hi All, I am using apache camel ftp2 for connecting to the sftp server. The sftp server has recently been updated to use latest ciphers and kex algorithms. These algos are not supported by the latest JSch library (version 0.1.54). Is there a way to configure camel to use sshj library instead of JS

Handling Camel sftp endpoint authentication failure.

2017-12-22 Thread Ivana Cace
Is there any sane way to handle authentication failure at an sftp endpoint? I have a camel route with a sftp endpoint, specifically it moves files to sftp. When the sftp location is not available, i want to: * If its an authentication failure, log, and do not retry. Move original files to failur

CAMEL SFTP WITH MULTIPLE CONSUMERS

2017-06-12 Thread NikheelRanjan
endpoint. Looking for different ideas. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/CAMEL-SFTP-WITH-MULTIPLE-CONSUMERS-tp5803235.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Performance issue in Camel SFTP component

2017-04-09 Thread Onder SEZGIN
blem. Regards On Mon, Apr 10, 2017 at 8:12 AM, Ayush Dixit wrote: > Hi > > Any luck in solving the problem? > > Regards > Ayush > > -Original Message- > From: Ayush Dixit > Sent: Thursday, April 6, 2017 11:01 AM > To: 'users@camel.apache.org'

RE: Performance issue in Camel SFTP component

2017-04-09 Thread Ayush Dixit
Hi Any luck in solving the problem? Regards Ayush -Original Message- From: Ayush Dixit Sent: Thursday, April 6, 2017 11:01 AM To: 'users@camel.apache.org' Subject: RE: Performance issue in Camel SFTP component Should I raise a JIRA for that? -Original Message- F

RE: Performance issue in Camel SFTP component

2017-04-05 Thread Ayush Dixit
Should I raise a JIRA for that? -Original Message- From: Ayush Dixit Sent: Wednesday, April 5, 2017 1:22 PM To: users@camel.apache.org Subject: RE: Performance issue in Camel SFTP component Hi Claus, Already tried that , See below endpoint configuration . No luck :( to("

RE: Performance issue in Camel SFTP component

2017-04-05 Thread Ayush Dixit
: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Wednesday, April 5, 2017 1:08 PM To: users@camel.apache.org Subject: Re: Performance issue in Camel SFTP component Try with maxMessagesPerPoll to set an upper limit. On Tue, Apr 4, 2017 at 12:10 PM, Ayush Dixit wrote: > > Thanks Claus ,

Re: Performance issue in Camel SFTP component

2017-04-05 Thread Claus Ibsen
April 4, 2017 1:35 PM > To: users@camel.apache.org > Cc: users-subscr...@camel.apache.org > Subject: Re: Performance issue in Camel SFTP component > > Please spend more time to read the documentation and you can find options to > tweak the options to use or not use FTP list etc,

RE: Performance issue in Camel SFTP component

2017-04-05 Thread Ayush Dixit
et) Thanks Ayush -Original Message- From: souciance [mailto:souciance.eqdam.ras...@gmail.com] Sent: Wednesday, April 5, 2017 12:29 PM To: users@camel.apache.org Subject: Re: Performance issue in Camel SFTP component Well, have you transferred the same amount of files with some other FTP cli

Re: Performance issue in Camel SFTP component

2017-04-04 Thread souciance
.com> wrote: > Hi, > > Can someone help me regarding the performance issue I am facing in camel > SFTP component ? I have gone through the documentation but did not find > anything that can improve performance. > > Thanks > Ayush > > -Original Message- > Fr

RE: Performance issue in Camel SFTP component

2017-04-04 Thread Ayush Dixit
Hi, Can someone help me regarding the performance issue I am facing in camel SFTP component ? I have gone through the documentation but did not find anything that can improve performance. Thanks Ayush -Original Message- From: Ayush Dixit Sent: Tuesday, April 4, 2017 3:40 PM To: users

RE: Performance issue in Camel SFTP component

2017-04-04 Thread Ayush Dixit
I can try? Thanks Ayush -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Tuesday, April 4, 2017 1:35 PM To: users@camel.apache.org Cc: users-subscr...@camel.apache.org Subject: Re: Performance issue in Camel SFTP component Please spend more time to rea

Re: Performance issue in Camel SFTP component

2017-04-04 Thread Claus Ibsen
l route where we are having camel sftp producer > to transfer a files to remote SFTP location but on performance testing on > client environment and on our local environment we have observed > degradation in the time for transferring files to remote SFTP location. > Please find the detailed a

Performance issue in Camel SFTP component

2017-04-04 Thread Ayush Dixit
Hi , We have implemented a camel route where we are having camel sftp producer to transfer a files to remote SFTP location but on performance testing on client environment and on our local environment we have observed degradation in the time for transferring files to remote SFTP location

Performance issue in Camel SFTP component

2017-04-04 Thread Ayush Dixit
Hi , We have implemented a camel route where we are having camel sftp producer to transfer a files to remote SFTP location but on performance testing on client environment and on our local environment we have observed degradation in the time for transferring files to remote SFTP location

Re: Camel SFTP

2017-03-08 Thread David Hoffer
g to accept our connection and check logs/etc). > > >> > > > > > >> > > > -Dave > > >> > > > > > >> > > > On Fri, Mar 3, 2017 at 5:41 PM, S AR > > >> wrote: > > >> > > > > > >>

Re: Camel SFTP

2017-03-08 Thread finx
on? > >> > > > > > >> > > > > If you are using privateKey, Have you generated a private key > file? > >> > > > > > >> > > > > Regarding logging, since camel uses log4j2, you can configure an > >> > >

Re: Camel SFTP

2017-03-08 Thread Claus Ibsen
> > > >> > > > > In log4j2, that means, you should have something like this: >> > > > > >> > > > > appender.mylogger.type = Console >> > > > > appender.mylogger.name = MYLOGGER >> > > > > appender.mylogger.layou

Re: Camel SFTP

2017-03-07 Thread David Hoffer
gt; > > > > > logger.mylogger.name = org.apache.camel.component.file > > > > > logger.mylogger.level = debug > > > > > logger.mylogger.additivity = false > > > > > logger.mylogger.appenderRef.mylogger.ref = MYLOGGER > > > > > > > >

Re: Camel SFTP

2017-03-06 Thread finx
camel.component.file > > > > logger.mylogger.level = debug > > > > logger.mylogger.additivity = false > > > > logger.mylogger.appenderRef.mylogger.ref = MYLOGGER > > > > > > > > Regards. > > > > > > > > On 03.03.2017 18:

Re: Camel SFTP

2017-03-05 Thread David Hoffer
.additivity = false > > > logger.mylogger.appenderRef.mylogger.ref = MYLOGGER > > > > > > Regards. > > > > > > On 03.03.2017 18:16, David Hoffer wrote: > > > > > > Is there a way to turn on low level logging so we can see why Camel is &

Re: Camel SFTP

2017-03-04 Thread finx
f = MYLOGGER > > > > Regards. > > > > On 03.03.2017 18:16, David Hoffer wrote: > > > > Is there a way to turn on low level logging so we can see why Camel is > > failing to connect? We can connect to the same server with puttyftp and > > put files but n

Re: Camel SFTP

2017-03-03 Thread David Hoffer
and > put files but not with camel...and the errors are not very detailed. > > -Dave > > On Fri, Mar 3, 2017 at 9:54 AM, S AR sa_remin...@hotmail.com> wrote: > > > > Hello David, > > When I work with camel-sftp, The first thing I do is to manually connect > t

Re: Camel SFTP

2017-03-03 Thread S AR
puttyftp and put files but not with camel...and the errors are not very detailed. -Dave On Fri, Mar 3, 2017 at 9:54 AM, S AR <mailto:sa_remin...@hotmail.com> wrote: Hello David, When I work with camel-sftp, The first thing I do is to manually connect to the remote machine via ssh, so t

Re: Camel SFTP

2017-03-03 Thread David Hoffer
en I work with camel-sftp, The first thing I do is to manually connect > to the remote machine via ssh, so that my knownHosts > (System.getProperty(user.home)/.ssh/known_hosts) file is written. On > windows, I use cygwin for that. I assume you can do the same with putty. > > > You s

Re: Camel SFTP

2017-03-03 Thread S AR
Hello David, When I work with camel-sftp, The first thing I do is to manually connect to the remote machine via ssh, so that my knownHosts (System.getProperty(user.home)/.ssh/known_hosts) file is written. On windows, I use cygwin for that. I assume you can do the same with putty. You specify

Camel SFTP

2017-03-03 Thread David Hoffer
How does Camel handle the SSH cert when connecting to SFTP servers? Somehow it has to accept the cert provided by the server how does it do that? The docs say the default is: strictHostKeyChecking=no What does this mean? Does this mean it will accept every cert? What does strictHostKeyChecking=

Camel Sftp - Stepwise & No Such File

2016-12-21 Thread Goyal, Arpit
Hello For a running scenario we switch to our native JSCH implementation to Camel-Ftp implementation to connect to SFTP server. Server Folder: home/arpit/outbound/ File Name: myDailyReport.csv Older implementation using native JSCH code - we used to first perform - channel.cd("home/arpit/outbo

Camel SFTP with encrypted passwords

2016-12-13 Thread dpravin
://camel.465427.n5.nabble.com/Camel-SFTP-with-encrypted-passwords-tp5791386.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SFTP with Publickey

2016-07-12 Thread Sashika
Found the answer. Actually the documentation says it clearly. The understanding should be as follows 1. The SFTP server is configured for password less authentication *2. The SFTP server has the Public Key* 3. Camel route specifies the private key file location and no need to specify the passphras

Camel SFTP with Publickey

2016-07-12 Thread Sashika
Hi, The camel documentation is not clear enough on how to use public key authentication with SFTP. Can anyone have a working example on how to do this. My requirement is as follows 1. The SFTP server is configured for password less authentication 2. The SFTP server has the private key 3. Camel ro

Re: Camel SFTP,quartz2 component gives:Cannot retrieve file :caused by GenericFileOperationFailedException,when polling multiple files from sftp

2016-04-23 Thread nikhilesh
Hans, I tired to change my camel version to 2.16.3, but that did not fix my issue, in fact my camel route stopped polling the files itself. (In my intiual scenario I did not encounter FileNotFoundException but GenericFileOperationFailedException which is caused by IOExcepton : streams or

Re: Camel SFTP,quartz2 component gives:Cannot retrieve file :caused by GenericFileOperationFailedException,when polling multiple files from sftp

2016-04-23 Thread nikhilesh
Hans, I tired to change my camel version to 2.16.3, but that did not fix my issue, in fact my camel route stopped picking the files. (And I'm not even getting the FileNotFoundException but getting the GenericFileOperationFailedException which is caused by IOExcepton : streams or Pipes are closed

Re: Camel SFTP,quartz2 component gives:Cannot retrieve file :caused by GenericFileOperationFailedException,when polling multiple files from sftp

2016-04-23 Thread Hans Orbaan
2016 21:56 Aan: users@camel.apache.org Onderwerp: Camel SFTP,quartz2 component gives:Cannot retrieve file :caused by GenericFileOperationFailedException,when polling multiple files from sftp *I'm trying to poll files from sftp location using the below camel route and using quartz2 scheduler,

Camel SFTP,quartz2 component gives:Cannot retrieve file :caused by GenericFileOperationFailedException,when polling multiple files from sftp

2016-04-22 Thread nikhilesh
:2882)[264:myBundle:1.0.0.SNAPSHOT] at com.jcraft.jsch.ChannelSftp.header(ChannelSftp.java:2908)[264:myBundle:1.0.0.SNAPSHOT] at com.jcraft.jsch.ChannelSftp._get(ChannelSftp.java:1025)[264:myBundle:1.0.0.SNAPSHOT] ... 13 moreI have not used any other IO stream

Re: Camel SFTP not working in Linux->Linux, working in Windows to Linux.

2015-07-20 Thread jpeschke
st regards, Joerg -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SFTP-not-working-in-Linux-Linux-working-in-Windows-to-Linux-tp5769587p5769594.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel SFTP not working in Linux->Linux, working in Windows to Linux.

2015-07-20 Thread paupachle
ote.SftpOperations logger to TRACE level but it does not even enter there. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SFTP-not-working-in-Linux-Linux-working-in-Windows-to-Linux-tp5769587.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: invalid private key problem in apache camel sftp

2015-03-05 Thread yogu13
Try using forward slash ("/") instead of backward ("\") so your param would look like this -> privateKeyFile=C:/CamelAFT/achpriv_rsa.pp Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/invalid-private-key-problem-in-apache-camel-sftp

invalid private key problem in apache camel sftp

2015-03-04 Thread Ram
el.465427.n5.nabble.com/invalid-private-key-problem-in-apache-camel-sftp-tp5763613.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SFTP Zero size file download

2015-02-04 Thread Gnana
Great, It looks it working fine -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SFTP-Zero-size-file-download-tp5762381p5762385.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SFTP Zero size file download

2015-02-04 Thread Claus Ibsen
;done" file etc. But try the changed read lock, it may be able to detect if the file is currently being written. You can tweak the thresholds of the changed read lock so you may need to find the right balance. On Wed, Feb 4, 2015 at 10:10 AM, Gnana wrote: > I am downloading PDF file from

Camel SFTP Zero size file download

2015-02-04 Thread Gnana
I am downloading PDF file from server using camel SFTP component. Sometime it is downloading zero size file. but actual size is 4kb. I think camel is downloading the file while it is being written. kindly let me know how to download the file after file written operation is done. Give some example

Re: Apache Camel SFTP

2015-01-16 Thread Luciano Nunes
into local folder to start the business process. Again, thanks! Luciano -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-SFTP-tp5761656p5761800.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel SFTP

2015-01-13 Thread Claus Ibsen
> org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:582) at > org.apache.commons.net.ftp.FTP.pwd(FTP.java:1454) at > org.apache.commons.net.ftp.FTPClient.printWorkingDirectory(FTPClient.java:2658) > at > org.apache.camel.component.file.remote.FtpOperations.getCurrentDirectory(FtpOperations.java:697) > .

Apache Camel SFTP

2015-01-13 Thread Luciano Nunes
parameter to teach the Camel to send keepalives to FTP server to avoid this situation? Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-SFTP-tp5761656.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel - SFTP rename problems.

2014-02-06 Thread Claus Ibsen
ht- > Von: jay [mailto:mylifemyrulesmyw...@gmail.com] > Gesendet: Mittwoch, 5. Februar 2014 17:44 > An: users@camel.apache.org > Betreff: Camel - SFTP rename problems. > > > Hi - i have a requirement to consume the file from remote server using sftp > and rename the consumed

AW: Camel - SFTP rename problems.

2014-02-05 Thread Günther , Dirk
.. mv /opt/data/somedir/${file:name} /opt/data/somedir/${file:name}_processed.txt Bye, Dirk -Ursprüngliche Nachricht- Von: jay [mailto:mylifemyrulesmyw...@gmail.com] Gesendet: Mittwoch, 5. Februar 2014 17:44 An: users@camel.apache.org Betreff: Camel - SFTP rename proble

Camel - SFTP rename problems.

2014-02-05 Thread jay
ssue where it is going wrong or let me know the best approach as i am new to camel sftp? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SFTP-rename-problems-tp5746860.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel sFTP how to track processed files?

2013-09-30 Thread deepak_a
Hi Claus, Found the answer I will be using JdbcMessageIdRepository or JpaMessageIdRepository. Will prefer JpaMessageIdRepository in my case. regards D -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sFTP-how-to-track-processed-files-tp5740461p5740471.html Sent

Re: Camel sFTP how to track processed files?

2013-09-30 Thread deepak_a
and routes are recreated. regards D -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sFTP-how-to-track-processed-files-tp5740461p5740467.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel sFTP how to track processed files?

2013-09-30 Thread Claus Ibsen
t; regards > D > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-sFTP-how-to-track-processed-files-tp5740461.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: c

Camel sFTP how to track processed files?

2013-09-30 Thread deepak_a
l routes restart for some reason? Should I use a database table to record the processed file(s)? regards D -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sFTP-how-to-track-processed-files-tp5740461.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SFTP stream download

2013-09-24 Thread dkum003
Please understand the camel first. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SFTP-stream-download-tp5740106p5740119.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel SFTP stream download

2013-09-24 Thread Monisha
xecute the above code again, it throws EOFException. Can you please help me with this issue? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SFTP-stream-download-tp5740106.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SFTP down handling

2013-09-04 Thread Claus Ibsen
w this message in context: > http://camel.465427.n5.nabble.com/Camel-SFTP-down-handling-tp5738721.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen

Camel SFTP down handling

2013-09-04 Thread Monisha
rrect, the route does not throw any exception, it just keeps on retrying and logging the error message. But I want to shut down the route if the route is not able to connect to an SFTP location. Please tell me how can I achieve this. -- View this message in context: http://camel.465427.n5.nabble

RE: camel sftp privateKeyFile - load from classpath

2013-07-01 Thread Siano, Stephan
: Re: camel sftp privateKeyFile - load from classpath Hi Yeah if sftp accepts an InputStream for the private key file, then we can use the resource loader abstraction to load it from classpath and file systems. See: org.apache.camel.util.ResourceHelper#resolveMandatoryResourceAsInputStream This is

RE: camel sftp privateKeyFile - load from classpath

2013-06-23 Thread Siano, Stephan
Hi, I have attached a patch for the camel-ftp component to https://issues.apache.org/jira/browse/CAMEL-6477 that has the following functionality: 1. add a test for the existing (file based) client key authentication 2. add new configuration parameters knownHostsUri and privateKeyUri that allow

Re: camel sftp privateKeyFile - load from classpath

2013-06-22 Thread Claus Ibsen
Sounds good. There is a JIRA ticket registered here https://issues.apache.org/jira/browse/CAMEL-6477 On Sat, Jun 22, 2013 at 5:41 AM, Siano, Stephan wrote: > Hi, > > This ResourceHelper looks interesting. I will look into this and attach a > patch to the JIra task next week. > > Best regards > S

RE: camel sftp privateKeyFile - load from classpath

2013-06-21 Thread Siano, Stephan
Hi, This ResourceHelper looks interesting. I will look into this and attach a patch to the JIra task next week. Best regards Stephan

Re: camel sftp privateKeyFile - load from classpath

2013-06-21 Thread javamonkey79
tp://camel.465427.n5.nabble.com/camel-sftp-privateKeyFile-load-from-classpath-tp5734394p5734544.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel sftp privateKeyFile - load from classpath

2013-06-21 Thread Claus Ibsen
est regards > Stephan > > -Original Message- > From: javamonkey79 [mailto:javamonke...@gmail.com] > Sent: Donnerstag, 20. Juni 2013 22:11 > To: users@camel.apache.org > Subject: RE: camel sftp privateKeyFile - load from classpath > > @Stephan - that is a bit over my head, perh

RE: camel sftp privateKeyFile - load from classpath

2013-06-20 Thread Siano, Stephan
com] Sent: Donnerstag, 20. Juni 2013 22:11 To: users@camel.apache.org Subject: RE: camel sftp privateKeyFile - load from classpath @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

RE: camel sftp privateKeyFile - load from classpath

2013-06-20 Thread javamonkey79
le. -- 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.

RE: camel sftp privateKeyFile - load from classpath

2013-06-20 Thread Siano, Stephan
interfaces would have to be provided by the user. What do you think about this? Best regards Stephan -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Donnerstag, 20. Juni 2013 12:54 To: users@camel.apache.org Subject: Re: camel sftp privateKeyFile - load from

Re: camel sftp privateKeyFile - load from classpath

2013-06-20 Thread Claus Ibsen
he SFTP component? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-sftp-privateKeyFile-load-from-classpath-tp5734394.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - www.camelone.org: The open source

camel sftp privateKeyFile - load from classpath

2013-06-19 Thread javamonkey79
ge in context: http://camel.465427.n5.nabble.com/camel-sftp-privateKeyFile-load-from-classpath-tp5734394.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Ciphers with camel-sftp

2013-04-01 Thread Christian Müller
in context: > http://camel.465427.n5.nabble.com/Ciphers-with-camel-sftp-tp5730052p5730171.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Ciphers with camel-sftp

2013-04-01 Thread lleclerc
Is my question too vague ? Not related to camel ? -- View this message in context: http://camel.465427.n5.nabble.com/Ciphers-with-camel-sftp-tp5730052p5730171.html Sent from the Camel - Users mailing list archive at Nabble.com.

Ciphers with camel-sftp

2013-03-28 Thread lleclerc
Hi, How can I have access to more ciphers with camel-sftp ? Here is some log of it working displaying the available ciphers : 2013-03-28 14:49:04,619 INFO [SftpOperations] JSCH -> kex: client: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1 2013-03-28 14:49:04,619 I

Re: Camel sftp

2012-09-15 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html Or you can use a route policy and then schedule the routes to start|stop after timing. Or when then last file has been transferred. http://camel.apache.org/routepolicy And take a look at the idempotent consumer EIP

Camel sftp

2012-09-14 Thread Jonas Lanzendörfer
Hi there, I am very new to Camel and try to solve the following problem. I have files on Server A and want to copy them to Server B and then read the content and save the content to a database. I want to process every file only once… I started to set up a camel route like this: from("sftp://

Re: camel-sftp polling and file listing

2012-04-11 Thread Claus Ibsen
e is no API to ask the list command to filter by some predicate, such as name | timestamp etc. You are of course welcome to check the sftp library in use. Its this JSCH library camel-ftp uses for sftp http://www.jcraft.com/jsch/ > -- > View this message in context: > http://camel.465

camel-sftp polling and file listing

2012-04-11 Thread tnk
files in folder). Is there any way to avoid full directory listing and for example, to list only files modified in the last 10 minutes? Renaming or deleting files is not an option... -- View this message in context: http://camel.465427.n5.nabble.com/camel-sftp-polling-and-file-listing

Re: Camel SFTP move is failing in new fuse

2012-04-11 Thread Claus Ibsen
on processed status. Directories exist in > server. > Try setting stepwise=false on the FTP endpoint. See details about this option at http://camel.apache.org/ftp2 > Thanks > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-SFTP-move-is-failin

Re: Camel SFTP move is failing in new fuse

2012-04-11 Thread kanmisc
cessed&moveFailed=/source/NotProcessed";) .beanRef("processFeedback") .stop(); It picks correct file from /source/Landing and moves to /source/Processed or to /source/NotProcessed based on processed status. Directories exist in server. Thanks -- View this message in context: htt

Re: Camel SFTP move is failing in new fuse

2012-04-05 Thread Claus Ibsen
it to upload files to those locations and it worked. Junit > did not have /move, moveFailed/ options. It has just uri="sftp://{{ftp.username}}@{{ftp.host}}{{ftp.loc.processed}}?password={{ftp.pwd}}"/>. > So I am doubting that, is /move/moveFailed/ causing this issue. Any help > appre

Re: Camel sftp endpoint and exception handling.

2012-01-26 Thread Raul
y.*FtpProcessStrategyFactory*" but I haven't found any example. Someone has used a custom processStrategy or someone knows how use FtpProcessStrategyFactory. Thank you again. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sftp-endpoint-and-exception-handl

Re: Camel sftp endpoint and exception handling.

2012-01-19 Thread Raul
Rollback. I was expecting that Rollback was executed and then I could catch the exception. ¿Is it posible to control this exception with DefaultPollingConsumerPollStrategy? Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sftp-endpoint-and-exception-handling

Re: Camel sftp endpoint and exception handling.

2012-01-02 Thread Claus Ibsen
h:0.1.44.1] >        at > com.jcraft.jsch.ChannelSftp.rm(ChannelSftp.java:1523)[117:org.apache.servicemix.bundles.jsch:0.1.44.1] >        at > org.apache.camel.component.file.remote.SftpOperations.deleteFile(SftpOperations.java:255)[115:org.apache.camel.camel-ftp:2.7.1

Camel sftp endpoint and exception handling.

2012-01-02 Thread tnk
How to catch such exceptions? Why block doesn't work? Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sftp-endpoint-and-exception-handling-tp5114385p5114385.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SFTP tunnelling

2011-10-25 Thread Claus Ibsen
On Mon, Oct 24, 2011 at 10:43 PM, Craig Taylor wrote: > Does / Are there plans for the Camel SFTP component to support SFTP > over SSH tunnelling? > I dont recall this in JIRA. Contributions is very much welcome. camel-ftp uses the jcraft library for sftp. So whatever it support

Camel SFTP tunnelling

2011-10-24 Thread Craig Taylor
Does / Are there plans for the Camel SFTP component to support SFTP over SSH tunnelling? Thanks, -- --- Craig Taylor ctalk...@ctalkobt.net

Re: camel-sftp component problem

2010-04-14 Thread hisham
Necessary(RemoteFileProducer.java:171) >>>>>>>at >>>>>>> org.apache.camel.component.file.remote.RemoteFileProducer.preWriteCheck(RemoteFileProducer.java:100) >>>>>>>at >>>>>>> org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProduc

  1   2   >