On Mon, Feb 1, 2010 at 7:58 AM, Vinnie Vo <[email protected]> wrote:
>
> Hi all,
>
> I'm working on a project that uses AC. But It cannot be that we wait for
> some arbitrary time to stop Camel.
>

What is AC?

> Can you give a me an alternative for using Thread.Sleep(). Better would be
> if I can get some progress status out of Camel!
>

What do you want to do? Wait until some special condition occurs and
then stop Camel or what?
I dont fully understand what your problem is. Maybe write more about
it and maybe post some code snippets what you are doing.

You can use org.apache.camel.spring.Main as a main class to start
Camel. Then it will run until you hit ctrl + c to stop Camel.
Its in the camel-spring component which thus uses Spring as well.



> Any suggestion will be appreciated!
> --
> View this message in context: 
> http://old.nabble.com/Alternative-for-using-Thread.Sleep%28%29-tp27400381p27400381.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to