On Mon, Aug 3, 2009 at 7:51 PM, ariablu<962...@gmail.com> wrote:
>
> using Apache Camel (2.0M3) and Spring,
>
>   <route>
>     <from
> uri="file:C:\test\trigger?initialDelay=1000&amp;delay=500&amp;useFixedDelay=false&amp;recursive=false&amp;delete=false&amp;noop=false&amp;move=.done&amp;idempotent=false&amp;readLock=none&amp;readLockTimeout=0&amp;autoCreate=true&amp;flatten=false"/>
>     <pollEnrich
> uri="file:C:\test\data?initialDelay=1000&amp;delay=500&amp;useFixedDelay=false&amp;recursive=false&amp;delete=false&amp;noop=false&amp;move=.done&amp;idempotent=false&amp;readLock=none&amp;readLockTimeout=0&amp;autoCreate=true&amp;flatten=false"
> timeout="5000" />
>     <to
> uri="log:testlog?level=INFO&amp;showExchangeId=true&amp;showProperties=true&amp;showBodyType=true&amp;showBody=true&amp;showOut=true&amp;multiline=true"/>
>   </route>
>
> FileConsumer("from" tag) move files from C:\test\data to C:\test\data\.done
> , and not move files from c:\test\trigger to c:\test\trigger\.done .
>
> Is this correct?
>

You are clashing the file consumer with a poll enrich that also uses a
file consumer. What do you want to archive, what is your use case?


> --
> View this message in context: 
> http://www.nabble.com/Problem-with-FileConsumer-and-pollEnrich-tp24795192p24795192.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