[jboss-user] [JBoss Microcontainer] New message: "Re: Sub deployer not kicking in on CreateDestinationDeployer"
Clebert Suconic
do-not-reply at jboss.com
Mon Mar 8 18:29:59 EST 2010
User development,
A new message was posted in the thread "Sub deployer not kicking in on CreateDestinationDeployer":
http://community.jboss.org/message/530650#530650
Author : Clebert Suconic
Email : clebert.suconic at jboss.com
Profile : http://community.jboss.org/people/clebert.suconic@jboss.com
Message:
--------------------------------------------------------------
I have tried adding a dependency on HornetQJMSRealDeployer to the HornetQDestinationCreator and it still didn't work.
<!-- Destination creator for HornetQ
This gets "automagically" injected into CreateDestinationDeployer Bean at ejb-deployer-jboss.xml through incallback and uncallback
-->
<bean name="HornetQDestinationCreator" class="org.jboss.ejb.deployers.CreateDestination">
<!-- We match any jms mdb that is going to be deployed using our rar -->
<property name="matcher">
<bean class="org.jboss.ejb.deployers.SimpleCreateDestinationMatcher">
<property name="default">true</property>
<property name="messageListener">javax.jms.MessageListener</property>
<property name="rarName">hornetq-ra.rar</property>
</bean>
</property>
<!-- Create a destination with HornetQ -->
<property name="factory">
<bean class="org.jboss.as.integration.hornetq.deployers.DestinationFactoryDeployerPlugin"/>
</property>
</bean>
<bean name="HornetQJMSRealDeployer" class="org.jboss.as.integration.hornetq.deployers.HornetQJMSRealDeployer">
<depends>HornetQDestinationCreator</depends>
</bean>
I have also tried the opposite. having the DestinationCreator depending on the JMSRealDeployer, and still no luck.
I'm basically adding the output class by using this method:
unit.getTransientManagedObjects().addAttachment(JMSConfiguration.class.getName(), config, JMSConfiguration.class);
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530650#530650
More information about the jboss-user
mailing list