You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2013/03/28 00:37:16 UTC

[jira] [Commented] (QPID-4666) [Java Broker] Incorrect exception messages returned following 0-10 MessageSubscribe failure

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

Robbie Gemmell commented on QPID-4666:
--------------------------------------

Hi JAkub,

I had a chat with Rob and we thought that including the queue name and the destination would probably be a good idea, so I have made that change on trunk. I fixed a typo in a related exception as well and so have tweaked the JIRA title accordingly.

The change was committed as http://svn.apache.org/r1461895

If you let me know this works ok for you I'll then request it for inclusion in 0.22.

Robbie
                
> [Java Broker] Incorrect exception messages returned following 0-10 MessageSubscribe failure
> -------------------------------------------------------------------------------------------
>
>                 Key: QPID-4666
>                 URL: https://issues.apache.org/jira/browse/QPID-4666
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>         Environment: Linux, Java 1.6, Qpid Java Client 0.20, Qpid Java Broker 0.23 (trunk)
>            Reporter: JAkub Scholz
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.22
>
>         Attachments: client.log, QPID-4666a.patch, QPID-4666.patch
>
>
> When AMQP client tries to subscribe to a queue which he is not allowed to assign to due to insufficient ACL rights, he seems to receive a slightly incorrect error message:
> Cannot subscribe to '1': Permission denied
> instead of:
> Cannot subscribe to 'queueName': Permission denied

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org