> When I run file transfer happens but the camel does not stop. The funny
> thing is whatever files I paste in source folder is transferred to the
> target again and again. How to stop the camel running once the transfer is
> over?
>

If I understand the question correctly you want to execute the route once
and then stop it?
If this is the case you can use something like this:
http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html


-- 
*Ioannis Canellos*
*
FuseSource <http://fusesource.com>

**
Blog: http://iocanel.blogspot.com
**
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache Camel <http://camel.apache.org/> Committer
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
Apache DirectMemory <http://incubator.apache.org/directmemory/> Committer
*

Reply via email to