There are similar questions and answers on the user mailing list where
you can find the answer, here is one:

http://camel.465427.n5.nabble.com/How-to-make-camel-stop-automaticaly-td465989.html

Bilgin

On Mon, Nov 21, 2011 at 7:57 AM, southtechie <southtec...@gmail.com> wrote:
> I wrote a came route in beans.xml file to transfer files from one folder to
> another.
>
> <camel:route id="files.routing">
>                <camel:from uri="file:///c:/tmp/source/" />
>                <camel:to uri="file:///c:/tmp/target/" />
>
> </camel:route>
>
> 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?
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-running-continuously-tp5009748p5009748.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to