3 Replies Latest reply on Jul 12, 2005 9:24 PM by Elias Ross

    how to tell JBoss do not wait for startService() one mbean a

    Michael K Newbie

      Hello all,

      I have one mbean (let say MyMBean) that is "slow" takes 2 min to go through startService() - by design a lot of logic is inside it.
      That MyBean depends from BBean that depends from ABean.
      MyBean --> BBean --> ABean

      Then I have CBean depends from BBean and DBean depends from the same BBean.
      CBean --> BBean and DBean --> BBean

      in jboss-service.xml I set those dependencies by

      Then at startup the JBoss waits for MyBean startService() to be completed and doesn't proceed with CBean and DBean which independent of MyBean.

      Any how I can tell JBoss to not wait for MyBean?