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

Keith Wall commented on QPID-4238:
----------------------------------

Hi Jakub

I see no problem with this patch.  The dot is legal in both queue names and 
virtual hostnames from a AMQP 0.8..0-10 perspective, so I can see no reason why 
you should not be able to specify these names in the config file too.  I do 
however think the patch would benefit from the additional of a unit test.  I 
would look at adding a test to ServerConfigurationTest and/or 
VirtualHostConfigurationTest.

Be aware that we are planning to remove the config.xml and virtualhost.xml 
files from the Broker at some point in the near future.  It is envisaged that 
all configuration will be stored in the store, and all objects (including 
virtualhosts) will be created/destroyed via the management interfaces.


                
> 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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to