[ 
https://issues.apache.org/jira/browse/QPID-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439081#comment-13439081
 ] 

Robbie Gemmell commented on QPID-4238:
--------------------------------------

Hi Jakub,

I must admit to us having known about this defect for a while. It is as you 
have noticed related to the Commons Configuration usage, and as such is linked 
to the xml config files rather than an inherant limitation of the broker. 
Although I can't admit to having tried it (our users dont tend to use dots so 
it has never become a priority) the JMX/HTTP interfaces shouldnt present any 
such restriction (but obviously cant currently create virtualhosts...though it 
is coming).

We will take a look at the patch later in the week probably (a bit swamped at 
the moment, hence the 11pm reply) and apply it if all seems well. It's probably 
worth me mentioning that we are currently undertaking a long term project to 
rework the broker management and configuration, including removal of the XML 
configuration hopefully for 0.20, so this was getting resolved one way or the 
other, but thank you for the patch in the meantime :)
                
> Virtual hosts or queues with dots in their names do not work
> ------------------------------------------------------------
>
>                 Key: QPID-4238
>                 URL: https://issues.apache.org/jira/browse/QPID-4238
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.19
>            Reporter: JAkub Scholz
>             Fix For: 0.19
>
>         Attachments: QPID-4238.patch
>
>
> The latest version of the Qpid Java broker seems to have a problem with the 
> virtual hosts and queues containing a dot in their name. This is related to 
> the way the virtualhosts.xml configuration file is designed. When a queue is 
> defined, the <queue> tag contains only the <name> tag with the queue name and 
> a tag named after the queue which contains additional details. E.g.
> <queue>
>     <name>queue.with.dot.in.the.name</name>
>     <queue.with.dot.in.the.name>
>         <durable>true</durable>
>     </queue.with.dot.in.the.name>
> </queue>
> Unfortunately the dots are also used as special characters when working with 
> the configuration file - they are used as delimiters in the XML hierarchy. In 
> order to use them in the tag names, they need to be escaped with additional 
> dot (i.e. queue..with..dot..in..the..name instead of 
> queue.with.dot.in.the.name - 
> http://commons.apache.org/configuration/userguide-1.2/howto_xml.html). This 
> escaping doesn't seem to be currently done on the broker. As a result, the 
> dots cannot be used in virtual host names or in queue names, which might be 
> unfortunate for some users.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to