IMHO I think JConsole or any JMX console is the perfect place for this kind of thing. The ability to invoke an mbean remotely is nice as well. Also the JBI spec emphasizes MBean's heavily and even provides mechanisms for components to register their own MBeans. You could use the existing start, stop, shutdown operations or you could even create your own MBean and register it to provide any specific lifecycle operations. Another nice feature is JMX Notifications. Instead of you refreshing the JMX console to determine when to start your component, you could use JMX notifications to send a notification for an event. You subscribe to that event and when you receive it, then you restart your component.
Another option is the http://ajax4jmx.sourceforge.net/ ajax4jmx project if you want to create your own AJAX web client. -- View this message in context: http://www.nabble.com/Deploying-component-that-won%27t-start-until-told-to-tf3077650s12049.html#a8573760 Sent from the ServiceMix - User mailing list archive at Nabble.com.
