1 Reply Latest reply on Mar 17, 2004 4:26 AM by Adrian Brock

    Invoking Message Driven Bean

    ev sh Newbie

      Hello All,
      I started looking at this.

      I sent a message to a queue and didn't reive it by my MDB.

      I used the following definitions:
      server/default/deploy/jbossmq-destinations-serive.xml - queue def. :
      <
      mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=NIP" >
      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager


      META-INF/ejb-jar.xml - my MDB
      <message-driven>
      <ejb-name>MDB</ejb-name>
      <ejb-class>org.hack.ejb.MDB</ejb-class>
      <transaction-type>Bean</transaction-type>

      </message-driven>


      META-INF/jboss.xml - MDB --> def

      <enterprise-beans>
      <message-driven>
      <ejb-name>MDB</ejb-name>
      <destination-jndi-name>queue/NIP</destination-jndi-name>
      </message-driven>
      </enterprise-beans>



      What am i doing wrong????????

      Cheers,

      Evyatar