Re: Is there any good readLock for Camel FTP?

2011-05-23 Thread Patrick Daly
Best to have your clients upload using a temporary name and rename once file has completed the upload process. Or see Claus suggestion here. http://camel.465427.n5.nabble.com/SFTP-camelExclusiveReadLock-race-condition-td4304297.html#a4305221

Re: Transactional jms

2011-04-27 Thread Patrick Daly
to the queue:b. I don't get you description of the message that > is sent to queue:b is not rolled back. > > If you don't want to send the same message again, you may take a look at > the DeadLetterChannel[1] > > [1]http://camel.apache.org/dead-letter-channel.html >

Transactional jms

2011-04-26 Thread Patrick Daly
Hi Using Apache camel 2.7 I've taken a simple example from the Camel in Action book. chapter9\multiple-routes An modified it slighly. from("activemq:queue:a") .transacted() .to("bean:process?method=process"); public class Process { protected ProducerTemplate template; public v

Re: SFTP camelExclusiveReadLock race condition

2011-04-15 Thread Patrick Daly
Hi Claus Both SFTP and camel are running on windows 2003. Doing a check on the file timestamp did cross our minds. So I believe we would be implementing a new strategy. But I think we will probably try and convince our client to change their upload process as this works great for our other clie

SFTP camelExclusiveReadLock race condition

2011-04-14 Thread Patrick Daly
Camel 2.7, Windows 2003 Continuing on from this issue http://camel.465427.n5.nabble.com/SFTP-rename-problems-td478681.html#a478683 We recently moved to version 2.7. And are polling files from a sftp server. We have two client that are writing files to folder which we are scanning. One uploads