You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/03 19:47:58 UTC

[jira] [Resolved] (AMQ-3586) spaces in queue name

     [ https://issues.apache.org/jira/browse/AMQ-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQ-3586.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.6.0
         Assignee: Timothy Bish

Fix applied in trunk to prevent the other tools like jconsole or command line from letting spaces into the ends of the destination names, will be in the next snapshot.
                
> spaces in queue name
> --------------------
>
>                 Key: AMQ-3586
>                 URL: https://issues.apache.org/jira/browse/AMQ-3586
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.5.0
>         Environment: linux
>            Reporter: Darius Schier
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 5.6.0
>
>
> Creating a queue that's name contains trailing blanks leads to several problems.
> Try the following within amq web console to reproduce:
> - create a queue with name '123  ' (without quotes)
> - create a second queue with name '123 ' (without quotes)
> - send a message to one of them
> --> amq creates a third queue, all three of them seem to have the same name within the browser, at jmx-level you see that there are three (with spaces)
> --> Number of Pending messages is 1 for the queue I've send the message and 0 for the other two
> --> if you click on the queue name within the amq browser, you see the same message within all three queues
> --> adding a consumer to one queue adds the same consumer to all of them

--
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