Hi,

I'm wondering what would be the best way to hook up a startup class to
servicemix.
Let's say I would like to create a backgound thread that cleans up temporary
files regularly.
The thread should be bound to the life cycle of servicemix.

I already implemented a component which starts the thread when itself is
being started. Although it works I find this ugly, because the only purpose
of the component is to start and stop the thread.

Any better ideas?

Wolfgang
-- 
View this message in context: 
http://www.nabble.com/Startup-class-tf3552317s12049.html#a9917484
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to