Do you use standard JBI components or a static xml configuration file ? If you use JBI components and Service Assemblies, the state of the components and service assemblies is persisted at shutdown and restored at startup.
But I guess adding an attribute on the activationSpec should be easy do to. Please raise a JIRA and attach a patch if you can :) On 11/5/06, Hrvoje Simic <[EMAIL PROTECTED]> wrote:
Is there any way to configure a specific component not to start when the ServiceMx container is started? The component would be initialized and in the state "stopped", and could be started at a later time using JMX or through another component. This is very useful in some cases if you want to control the component via a JMX console. We have been using a custom "ignoreNextStart" property to make component do nothing the first time start() is invoked (during container startup), but this is not a very good solution. It appears that in ServiceMix 3.0 the JMX console will not invoke start() on the component already in state "started", so you have to stop() it first. -- View this message in context: http://www.nabble.com/Configuring-components-not-to-start-tf2577935s12049.html#a7186350 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet
