users@glassfish.java.net

Re: MDB concurrent access of separate queues

From: <forums_at_java.net>
Date: Fri, 26 Aug 2011 11:46:57 -0500 (CDT)

your glassfish-ejb-jar.xml overrides the listening queue for testMDB, so both
testMDB and testMDB2 are listening on the same queue, which is not what you
want:

    <ejb>
      <ejb-name>testMDB</ejb-name>
      <jndi-name>jms/testQueue2</jndi-name>
 

this jndi-name is not needed since you already specify the mappedName in
testMDB.

 


--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/837516