1 Reply Latest reply on Mar 17, 2004 4:26 AM by adrian.brock

    Invoking Message Driven Bean

    eshoresh

      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

        • 1. Re: Invoking Message Driven Bean

          There is very little to go on here, the little you have posted looks correct.

          My first guess would be the MDB is not deployed.
          Show me the log message where it says it is deployed.

          Also did you "READ THIS FIRST"? It explains how to enable debug logging.

          Regards,
          Adrian