users@glassfish.java.net

RE: problem in creating jms destination

From: Alex Sherwin <alex.sherwin_at_acadiasoft.com>
Date: Wed, 8 Oct 2008 09:52:30 -0400

I don't think / is a valid character for jms destinations (it might be, but I had the same problem and never tried to resolve it... I used underscores instead)

The destination is the physical queue in OpenMQ, where the JMS Resource is the JNDI mapping for the queue, which most certainly can use / in the name.

Also, there seems to be auto translation between the JMS Resource '/' and underscore in the associated physical queue. For example, if you have autocreate queues on by default, and create a JMS Resource called jms/queue/hi, the automatically created jms destination would be named jms_queue_hi


Alex Sherwin
alex.sherwin_at_acadiasoft.com


-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Wednesday, October 08, 2008 9:49 AM
To: users_at_glassfish.dev.java.net
Subject: Re: problem in creating jms destination

just an idea, try to escape the / like this jms\\/persistence
[Message sent by forum member 'candlejack' (candlejack)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net