users@glassfish.java.net

Re: JMS Resources in sun-web.xml

From: <glassfish_at_javadesktop.org>
Date: Fri, 03 Apr 2009 12:58:46 PDT

Instead of using:

<resource-env-ref>
   <resource-env-ref-name>QueryQueue</resource-env-ref-name>
   <jndi-name>jms/QueryQueue</jndi-name>
</resource-env-ref>

in your sun-web.xml use:

<message-destination-ref>
  <message-destination-ref-name>QueryQueue</message-destination-ref-name>
  <jndi-name>jms/QueryQueue</jndi-name>
</message-destination-ref>

Joe
[Message sent by forum member 'desousaj' (desousaj)]

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