You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Darius Schier (Created) (JIRA)" <ji...@apache.org> on 2011/11/10 09:18:51 UTC
[jira] [Created] (AMQ-3586) spaces in queue name
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
[jira] [Commented] (AMQ-3586) spaces in queue name
Posted by "Timothy Bish (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (AMQ-3586) spaces in queue name
Posted by "Timothy Bish (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198847#comment-13198847 ]
Timothy Bish commented on AMQ-3586:
-----------------------------------
It shouldn't have this issue if you use the 5.6-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
> 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
[jira] [Resolved] (AMQ-3586) spaces in queue name
Posted by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (AMQ-3586) spaces in queue name
Posted by "Darius Schier (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198846#comment-13198846 ]
Darius Schier commented on AMQ-3586:
------------------------------------
We created the destination's names with the standard activemq web console. It still seems to be possible (5.5.0).
I even got to manage it that the identical message was sent to '123' and '123 ', although I addressed only one of them (also through the web console).
> 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