Java Client: Add a Queue ACL Entry
This example demonstrates how to add an ACL entry to a Universal Messaging Queue.
Usage
naddqueueacl <queue name> <user> <host> [list_acl] [modify_acl]
[full] [peek] [push] [purge] [pop]
<Required Arguments>
<queue name> - Queue name parameter for the queue to add the ACL entry to
<user> - User name parameter for the queue to add the ACL entry to
<host> - Host name parameter for the queue to add the ACL entry to
[Optional Arguments]
[list_acl] - Specifies that the list acl permission should be added
[modify_acl] - Specifies that the modify acl permission should be added
[full] - Specifies that the full permission should be added
[peak] - Specifies that the peak permission should be added
[push] - Specifies that the push permission should be added
[purge] - Specifies that the purge permission should be added
[pop] - Specifies that the pop permission should be added
Note: -? provides help on environment variables
Application Source Code