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 (Commented) (JIRA)" <ji...@apache.org> on 2012/02/01 21:28:59 UTC

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

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

Timothy Bish commented on AMQ-3586:
-----------------------------------

What are you using to create the Queue's web console, admin tool?  The web console was patched no to long ago to trim leading and trailing whitespace from the forms to prevent this sort of thing.
                
> 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
>            Priority: Minor
>
> 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