<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div><br></div><div>I'm trying to grant a user read access to a particular STOMP queue, e.g. destination:/queue/testqueue.  The user will also need to be able to subscribe to the queue - in order to receive messages sent to that queue.</div><div><br></div><div>I came across a similar thread - <a href="http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2012-May/020100.html" target="_blank">http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2012-May/020100.html</a> and found out that write access is also required to subscribe to a queue.</div><div><br></div><div>Using the suggestion provided, I'm able to grant a user read access to all queues and maybe topics using the following command:</div><div><br></div><div>> rabbitmqctl set_permissions guest ".*" "^amq.gen.*$" ".*"</div><div><br></div><div><br></div><div>However, I've not able to grant access only to a specific queue.</div><div><br></div><div>I've tried the following, they don't appear to work:</div><div><br></div><div>> rabbitmqctl set_permissions guest ".*" "testqueue" ".*"</div><div><br></div><div>neither does:</div><div><br></div><div>> rabbitmqctl set_permissions guest "testqueue" ".*" ".*"</div><div><br></div><div><br></div><div><span style="font-family: 'Times New Roman'; font-size: 12pt;">Error:ERROR message:access_refused content-type:text/plain version:1.0,1.1,1.2 content-length:104 content-length:104 ACCESS_REFUSED - access to queue 'amq.gen-ZIVxrP62SnRh1muHA_lg6Q' in vhost '/' refused for user 'guest' </span></div><div><span style="font-family: 'Times New Roman'; font-size: 12pt;"><br></span></div><div><br></div><div>Is there a way to grant a user read permission to only a specific queue?  I would greatly appreciate any pointers.</div><div><br></div><div>Rgds,</div><div>Joshua</div><div><br></div><div><br></div><div><br></div><div><br></div>                                        </div></body>
</html>