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   : [email protected]
Profile : http://community.jboss.org/people/[email protected]

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


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to