Granting Topic Access Permissions to Users
To see how permissions affect the ability to publish and receive messages, grant publish permission to user1 and subscribe permission to the user2.
Use the grant topic command to grant permissions to users on the topic myTopic.
In the administration tool, enter:
tcp://localhost:7222> grant topic myTopic user1 publish tcp://localhost:7222> grant topic myTopic user2 subscribe
For more information on the grant topic command, refer to grant topic.
Copyright © Cloud Software Group, Inc. All rights reserved.