Re: Multiple schedulers in apache camel

2016-11-24 Thread Klaus Johansen
Hi, I normally use java DSL but I assume the uri format is the same. Check the uri format: shouldn't it be scheduler=quartz2&scheduler.cron ? Try "&" where you used ";" that is. Regards, Klaus -- View this message in context: http://camel.465427.n5.nabble.com/Multiple-schedulers-in-ap

Re: SFTP via quartz2 , after first call returns only 1 file instead of all files again

2016-11-24 Thread Klaus Johansen
Hi, When you set noop=true then camel sets idempotent=true (see http://camel.apache.org/file2.html). Since the file names seems to be the same Camel is not supposed to return any files at all on the 2nd and 3rd run. Did M2001 and M2002 change in regard to size or date/time? You could try to set

Re: Is GenericFileOperationFailedException handled differently than other exceptions?

2016-10-31 Thread Klaus Johansen
Hi again, I'm actually trying to recover from "java.net.SocketTimeoutException: Read timed out" during download of files via FTP. Any ideas how to ensure "redelivery" (or start another poll immediately) if download fails? I done some more debugging to find out why some FTP consumer errors are e

Re: Is GenericFileOperationFailedException handled differently than other exceptions?

2016-10-28 Thread Klaus Johansen
Hi again, Let me rephrase: My problem is that GenericFileOperationFailedException goes directly to the dead letter channel and and completely bypass redelivery. I don't have any onException statements which reset maximumRedeliveries to 0. Is this excepted behavior? (In my earlier post I men

Is GenericFileOperationFailedException handled differently than other exceptions?

2016-10-27 Thread Klaus Johansen
Hi all, I have used a lot time configuring a deadLetterChannel errorHandler and a custom PollingConsumerPollStrategy for our PollingConsumers (mostly sFTP and FTPS). In combination with "throwExceptionOnConnectFailed=true" and "consumer.bridgeErrorHandler=true" we have a generally robust setup, w