users@glassfish.java.net

Re: strange problem with MDB & Glassfish 2.1

From: <glassfish_at_javadesktop.org>
Date: Wed, 15 Jul 2009 05:04:38 PDT

You need to associate the JNDI name of your destination with the physical queue name used by MQ. This is done by setting the "Name" property of the "JMS destination resource" in the Glassfish admin console, using asadmin, or in sun-resources.xml:
 
<admin-object-resource
   enabled="true" jndi-name="jms/TestMQ " object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
   <description/>
   <property name="Name" value="physicalQueueName"/>
</admin-object-resource>

Where physicalQueueName should be replaced by the name of your queue.

Nigel
[Message sent by forum member 'nigeldeakin' (nigeldeakin)]

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