users@glassfish.java.net

Re: JMS Using Spring

From: <glassfish_at_javadesktop.org>
Date: Mon, 19 Apr 2010 08:06:23 PDT

The original post had a typo. The JNDI name is 'jms/Topic"

I deleted the topic using the admin tool. I then created a physical destination "jmsTopic", then created a new Destination Resource with a JNDI name of "jms/Topic" with a physical destination name of "jmsTopic". That seems to work now. In my previous attempt, I did not create the physical resource because the admin page specifies: "If the destination does not exist, it will be created automatically when needed." I think my initial error was specifying a physical name of "jms/Topic" - it didn't like the "/" character.

The simple app is now working, although I would still be interested in seeing an example with Spring.

Thanks.
[Message sent by forum member 'ltouve']

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