Hi

I created an unit test based on your route and it worked for me. I
could drop the same file and have it processed again.
http://svn.apache.org/viewvc?rev=811216&view=rev

What version are you using?
I am using 2.1-SNAPSHOT


On Fri, Sep 4, 2009 at 12:24 AM, lazyeye<t.mcgee.lazy...@gmail.com> wrote:
>
> I want to have a file component that will allow the same file to processed if
> dropped into the target directory again. I can't get the configuration
> right. Here's what I have now:
>
>        <camel:camelContext id="camel">
>                <camel:route>
>                        <camel:from
>
> uri="file://inbox?idempotent=false&amp;move=../done&amp;moveFailed=../error&amp;preMove=working/${date:now:yyyyMMddHHmmssSSS}-${file:name}&amp;readLock=rename"
> />
>                        <camel:process ref="zothProcessor" />
>                        <camel:to uri="log:gov.Zoth?level=INFO" />
>                        <camel:onException>
>                                <camel:to uri="log:gov.Exception?level=INFO" />
>                        </camel:onException>
>                </camel:route>
>        </camel:camelContext>
>
> --
> View this message in context: 
> http://www.nabble.com/File-and-idempotent-question-tp25285173p25285173.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to