1 Reply Latest reply on Jul 25, 2003 3:00 PM by admiyo

    easy question

    riki1512

      Hi,

      i defined my message driven bean as follows in the jboss.xml:

      <message-driven>
      <ejb-name>MessageReceiverBean</ejb-name>
      <configuration-name>Standard Message Driven Bean</configuration-name>
      <destination-jndi-name>queue/myQueue</destination-jndi-name>
      </message-driven>

      When i deploy the ejb.jar, why isn't there a queue named myQueue, accessible over lookup("queue/myQueue") ? There is a new entry in the global jndi-namespace under queue, but it has the name of the Bean. If i lookup over that new name and send messages, my mdbean works, but i still wonder...

      Is every visible entry in the jmx-console under queue a separate queue ? Or are there only more names ?

        • 1. Re: easy question

          <destination-jndi-name>queue/myQueue</destination-jndi-name>

          This does not signify the name for the queue, it signifies the (remote?) name for the bean. I think.