[ openjms-Bugs-1077649 ] New topic with dots cannot be added via JmsAdminServerIfc

"SourceForge.net" <[email protected]> Thu, 02 Dec 2004 07:30:12 -0800
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
Bugs item #1077649, was opened at 2004-12-02 10:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1077649&group_id=54559

Category: server
Group: v0.7.6.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Priest (mpriest)
Assigned to: Nobody/Anonymous (nobody)
Summary: New topic with dots cannot be added via JmsAdminServerIfc

Initial Comment:
Topics with dots (i.e. "my.topic") can be added to an 
OpenJMS server using the openjms.xml configuration file 
and are accessible via JNDI.  However, topics with dots 
cannot be added using the JmsAdminServerIfc 
administrative interface and then be accessed via JNDI.  

Steps to recreate the problem:

1. Add the topic with dots programmatically as follows:

String topic = "my.topic";
      Boolean isQueue = Boolean.FALSE;
      if (!admin.addDestination(topic, isQueue)) {
          System.err.println("Failed to create topic " + 
topic);
      }

2. Method returns sucessfully
3. New topic is visible in admin GUI
4. Topic creation is logged in JMS server
5. Attempt to access the new topic via JNDI as follows:

 Topic topic = (Topic) context.lookup("mytopic");

6. javax.naming.NamingException is thrown indicating no 
such topic is bound in JNDI.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1077649&group_id=54559


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/