Re: FilePolling

2007-06-15 Thread James Strachan
On 6/15/07, Ole Andreas Hegle <[EMAIL PROTECTED]> wrote: Hi There I have discovered some issues with the file-component, but I need to clear up one thing here. Are there any reason why the ScheduledPollEndpoint use the "consumer."-prefix on options which go to the ScheduledPollConsumer? (initia

Re: FilePolling

2007-06-15 Thread Ole Andreas Hegle
Hi There I have discovered some issues with the file-component, but I need to clear up one thing here. Are there any reason why the ScheduledPollEndpoint use the "consumer."-prefix on options which go to the ScheduledPollConsumer? (initialDelay, delay and useFixedDelay). As far as I can se

Re: FilePolling

2007-06-12 Thread James Strachan
On 6/12/07, Ole Andreas Hegle <[EMAIL PROTECTED]> wrote: Hi I need at least functionality to disable the last-modified vs. polltime test, så I can create a fix for this. Awesome! :) How/where do I submit the patch when it is ready? Here's details http://activemq.apache.org/camel/contribut

Re: FilePolling

2007-06-12 Thread Ole Andreas Hegle
Hi I need at least functionality to disable the last-modified vs. polltime test, så I can create a fix for this. How/where do I submit the patch when it is ready? -Ole Andreas Hiram Chirino wrote: On 6/12/07, Ole Andreas Hegle <[EMAIL PROTECTED]> wrote: Hi Yes, to make it optional would b

Re: FilePolling

2007-06-12 Thread Hiram Chirino
On 6/12/07, Ole Andreas Hegle <[EMAIL PROTECTED]> wrote: Hi Yes, to make it optional would be nice. Other alternatives is to create an options for "delete processed files", "move processed files" or to keep track of all files in the polled folder to prevent files beeing polled twice, unless the

Re: FilePolling

2007-06-12 Thread Ole Andreas Hegle
Hi Yes, to make it optional would be nice. Other alternatives is to create an options for "delete processed files", "move processed files" or to keep track of all files in the polled folder to prevent files beeing polled twice, unless they are modified. -Ole Andreas James Strachan wrote:

Re: FilePolling

2007-06-12 Thread James Strachan
On 6/12/07, Rob Davies <[EMAIL PROTECTED]> wrote: ooh - school boy error - want to issue a patch? - if not I'll try and fix Should we just trash the lastModified > lastPollTime test? Or make it optional? James On Jun 12, 2007, at 5:02 PM, Ole Andreas Hegle wrote: > Hi James > > Thank you fo

Re: FilePolling

2007-06-12 Thread Rob Davies
ooh - school boy error - want to issue a patch? - if not I'll try and fix On Jun 12, 2007, at 5:02 PM, Ole Andreas Hegle wrote: Hi James Thank you for your answer. I have just found the problem, the file-poller worked when i modified the file, and it seems to me as the problem is located i

Re: FilePolling

2007-06-12 Thread Ole Andreas Hegle
Hi James Thank you for your answer. I have just found the problem, the file-poller worked when i modified the file, and it seems to me as the problem is located in org.apache.camel.component.file.FileConsumer.java and the method *protected* *void* pollFile(*final* File file) { *if* (file.e

Re: FilePolling

2007-06-12 Thread James Strachan
On 6/12/07, Ole Andreas Hegle <[EMAIL PROTECTED]> wrote: Hi Hi Ole! I am using Camel 1.0 (java 6) and have a file-component for polling files from a folder. However files only get polled when CamelContext is started, and not later when new files are added to the folder I monitor. You star