Re: camel-file : Avoiding CamelLock...

2012-03-08 Thread Claus Ibsen
On Thu, Mar 8, 2012 at 5:32 PM, Craig Taylor wrote: > Thanks Claus, > > That was the problem... I had initially had it but removed it due to the > files disappearing as I didn't have the right options set. > > As an aside, > > Are there any utilities or 3rd party apis to confure Camel uri's more >

Re: camel-file : Avoiding CamelLock...

2012-03-08 Thread Craig Taylor
Thanks Claus, That was the problem... I had initially had it but removed it due to the files disappearing as I didn't have the right options set. As an aside, Are there any utilities or 3rd party apis to confure Camel uri's more easily? Eg: CamelUri cUri = new CamelUri(string); cUri.setParam("n

Re: camel-file : Avoiding CamelLock...

2012-03-08 Thread Claus Ibsen
Hi Read the java doc on the consumer template http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ConsumerTemplate.html You need to done the UoW on the exchange when using the receive method. On Thu, Mar 8, 2012 at 4:42 PM, Craig Taylor wrote: > Using 2.8, I'm polling an

camel-file : Avoiding CamelLock...

2012-03-08 Thread Craig Taylor
Using 2.8, I'm polling an error directory and am wanting to validate that the original source file exists before displaying prompts to the end user to reprocess it. I'm having an issue in that my directory routine is leaving stray .camelLock files behind. I've looked into the options on file and