Re: Errors with SFTP producer and large files

2011-09-01 Thread Mike D
Update: I was able to workaround this problem using ylambert's approach (thank you sir!), however it makes me a little uneasy that the problem must be dealt with in such a way. It seems to me like this is a bug in the way Camel handles transferring a local file to a remote system with SFTP/FTP(S)

Re: Errors with SFTP producer and large files

2011-09-01 Thread Mike D
Hi Claus, Thank you for your answer. I had investigated the localWorkDirectory option already without any success. It seems like this option is only available when retrieving files from a remote system and not when sending files a system. In fact, the documentation at http://camel.apache.org/ftp

Errors with SFTP producer and large files

2011-09-01 Thread Mike D
Hi, I am using Camel 2.7.0 and trying to upload large files using the SFTP producer. However, past a certain size the transfers fail without any real informative errors in the log. Interestingly enough, it seems I start to get failures as soon as the file exceeds my java -Xms heap setting. For e

Re: How can I disable stack traces from GenericFileOnCompletion's LoggingExceptionHandler?

2011-03-11 Thread Mike D
Hi Claus, Thanks for your response. Your short-term proposal would work well for me (in fact I log stack traces as DEBUG in many parts of my own code). I don't know if the other camel users would find this an inconvenience though. I do appreciate you giving it some consideration. Regards, Mike

How can I disable stack traces from GenericFileOnCompletion's LoggingExceptionHandler?

2011-03-10 Thread Mike D
Hi, I am using Camel 2.6.0 and have a very simple file based route from a single input dir to a single output dir, with processors connected to both routes. In my specific use case an exception raised in a processor is not necessarily fatal and I do not want the stack trace information to get log