Re: SFTP list of files

2017-07-05 Thread Karel Bernolet
Using the ftp component (see http://camel.apache.org/ftp2.html), you can avoid to download the files by setting download=false. As the ftp component extends the file component, you can retrieve the file name from the headers (see http://camel.apache.org/file2.html). The file component can serve as

SFTP list of files

2017-07-05 Thread rwoolf
I want to log onto an SFTP site once a day and get a list of files that exist there. I don't want to download them, but simply get a list of files with dates/times. Is this possible? I've been looking at the sftp component but can't see any way of doing this. -- View this message in context:

Re: how to use CamelSpringTestSupport

2017-07-05 Thread Claus Ibsen
Hi Yeah it depends a bit how you want to trigger the route, you can write a file to that folder so the file consumer will pickup the file and route it. To test your bean, you can also just do a plain unit test without Camel for that and call the bean from your unit test with various inputs and se

Re: aws-s3, get a single object

2017-07-05 Thread Artur Jablonski
Just for the completeness, Here's the lastest version of my custom PollingConsumerStrategy https://gist.github.com/anonymous/17465c5ff78d9b75726563dc7727d5ae It allows me to detect the specific error from Amazon and pass null down the route, or propagate the error in any other case. Is that a s