Re: Camel file component preMove creates directory before read lock acquired?

2013-04-01 Thread icemanltd
This behavior is causing an issue. I have specified preMove=temp/${exchangeID} with noop=true idempotent=false and readLock=rename. I was expecting that the lock would first be acquired, then the file moved to the preMove directory and then processing would begin and eventually end leaving the file

Is Quartz component a scheduled polling component?

2013-06-11 Thread icemanltd
Maybe I am misreading the polling consumer documentation here ? It looks like the Quartz component should be a ScheduledPollConsumer and thus support the pollStrategy attribute but when I try it in my Spring DSL it reports the pollStrategy as an uns

Re: Is Quartz component a scheduled polling component?

2013-06-12 Thread icemanltd
Thank you for your response. I had exactly what I wanted with a file endpoint and wanted to extend that to a jms endpoint. I guess am misunderstanding the documentation. Anyway, I think I have accomplished what I wanted to do using consumer/producer templates and a bean. The route looks like

RE: Is Quartz component a scheduled polling component?

2013-06-12 Thread icemanltd
please post Date: Wed, 12 Jun 2013 06:11:23 -0700 From: ml-node+s465427n5734134...@n5.nabble.com To: iceman...@hotmail.com Subject: Re: Is Quartz component a scheduled polling component? Thank you for your response. I had exactly what I wanted with a file endpoint and wanted to extend

Re: Camel file component preMove creates directory before read lock acquired?

2013-02-26 Thread icemanltd
After looking at this a little closer it looks as though the FileNotFoundException occurs when attempting to perform the preMove. This means that the rename based readLock has succeeded and yet the preMove which is essentially a rename with a different name failes? -- View this message in contex

antInclude parameter

2012-01-30 Thread icemanltd
Is "antInclude" parameter of file uri supported? I thought I had followed the documentation but when I deploy I get FailedToCreateRouteException which ultimately points to Unknown parameters=[{antInclude=landing/*.txt}]. The XML for this looks like -- View this message in context: http://camel.

Re: antInclude parameter

2012-01-30 Thread icemanltd
"Camel 2.10: Ant style filter exclusion." right there in front of me ... how did I miss that? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/antInclude-parameter-tp5443591p5443627.html Sent from the Camel - Users mailing list archive at Nabble.com.

FileComponent not producing FileMessage

2012-04-10 Thread icemanltd
I am expecting rather large files so I would prefer to receive a FileMessage from my file components. After reading the documentation I thought this was the default behavior but the following route is sending a JmsMessage with the file content as the body. (using Camel 2.8.3 in ServiceMix 4.4.0) Wh

Re: FileComponent not producing FileMessage

2012-04-10 Thread icemanltd
Thank you for the quick response. I will try using the transform and the file name. >From the documentation (http://camel.apache.org/file2.html) "By default the file endpoint sends a FileMessage which contains a File object as the body. If you send this directly to the JMS component the JMS messag