If you want to use JMX, you can either use the standard interfaces defined and explained in the JBI spec. The AdminCommandsService is not a standard interface, but allows simplified deployments. To deploy a new SA (SU can not be deployed standalone), you can use the deployServiceAssembly method (which is the jbi standard method). The installArchive method can be used also and has the same behavior than the auto deployment: artifacts are automatically started and put in a pending state if a dependency (component or shared library) is missing.
On 9/26/06, Joern Schimmelpfeng <[EMAIL PROTECTED]> wrote:
Hi there, I tried to use the JMX based AdminCommandsService to deploy a new service unit. Unfortunately I could not find some detailed documentation about the service execept the java doc inside the MBean class. If there is more information I would be glad to get a pointer :) So can someone explain to me if can use JMX to deploy a new service unit at runtime? And what JMX operation I can use there for? What is the purpose of the installComponent and the installArchive operations? And can I use them to deploy a new SU? Thanks a lot Joern -- View this message in context: http://www.nabble.com/Install-component-with-JMX-tf2336965.html#a6502355 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet
