users@glassfish.java.net

Re: MessageDriven mappedName problem

From: <glassfish_at_javadesktop.org>
Date: Fri, 24 Apr 2009 13:22:58 PDT

Yes, you can set the physical queue from which the MDB should consume using the
jndi-name element under <ejb> in sun-ejb-jar.xml. For example :

<sun-ejb-jar>
  <enterprise-beans>
    <ejb>
      <ejb-name>MyMDB</ejb-name>
      <jndi-name>jms/TestQueue</jndi-name>
    </ejb>
  </enterprise-beans>
</sun-ejb-jar>
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=343717