[jboss-user] [JBoss Microcontainer] New message: "Re: Sub deployer not kicking in on CreateDestinationDeployer"

Ales Justin do-not-reply at jboss.com
Tue Mar 9 04:58:16 EST 2010

User development,

A new message was posted in the thread "Sub deployer not kicking in on CreateDestinationDeployer":


Author  : Ales Justin
Profile : http://community.jboss.org/people/alesj


> I have tried adding a dependency on HornetQJMSRealDeployer to the HornetQDestinationCreator and it still didn't work.
>    <bean name="HornetQJMSRealDeployer" class="org.jboss.as.integration.hornetq.deployers.HornetQJMSRealDeployer">
>        <depends>HornetQDestinationCreator</depends>
>    </bean>
You need demand, not depends.
Depends does this -- legacy style depends -- B depends on A:
* B waits until A is created
* A is created, now B can be created
* B now waits until A is started
* A is started, hence B can be as well
Where "demand" is simple one state dependency, by default in Installed.
In our case we need the A to be fully installed, since this is when it is automagically picked up and its output added to deployer.


To reply to this message visit the message page: http://community.jboss.org/message/530724#530724

More information about the jboss-user mailing list