Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | JMSAdmin Command Reference | JMSAdmin Command Descriptions | Deny
Removes subscribe or publish permissions for one or more topics from groups, and send and receive permissions on queues.
deny group group-name [to] { subscribe | publish } ( topic-names )+
deny group group-name [to] send [ to ] ( queue-names )+
deny group group-name [to] receive [ from ] ( queue-names )+
The second and third forms revoke a queue's send or receive permissions for a specified client group by removing the document type associated with the queue from the client's can-publish or can-subscribe lists.
Note:topic-name specifies the topic's actual name, not its JNDI lookup name. Queue names are also the Broker names, not the JNDI names.
> connect broker "Test JMS Broker" server testserver
> deny group Staff to publish Test::Topics::T1 Test::Topics::T3
> deny group Managers to subscribe Test::Topics::T2
> deny group Auditors to subscribe Test::Topics::T2
> deny group Staff to send to RequestQueue
> deny group Managers to receive from RequestQueue
Related Commands