users@glassfish.java.net

Re: Exception attempting to inject Unresolved Message-Destination-Ref

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 Apr 2010 20:43:16 PDT

Yes, @Resource(lookup / mappedName) should work.

Similarly, when the look up is done, it should be
initialContext.lookup("jms/OutgoingMessageTopic")
unless the application's deployment descriptor has defined <resource-ref>
[Message sent by forum member 'jr158900']

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