To control access to message queues and topics, add one or more access roles. If more than one access role is assigned to a message queue or topic, a client must possess only one of the roles to access the queue or topic. If a message queue or topic has no assigned roles, any client can access it.
Adding an access role
To add an access role to a message consumer, select the appropriate folder:
Message consumer |
Folder title |
---|---|
Active queue |
Active Queues |
Inactive queue |
Configured Queues |
Active topic |
Active Topics |
Inactive topic |
Configured Topics |
Select a queue or topic from the list, and select File | Add.
In the Properties dialog, select the Roles tab.
Click Add.
In the New Role dialog box, enter the role name. You can use a wildcard character (“*”) when the queue or topic does not require a specific role. For subtopics that do not require a specific role, the name can end with the wildcard character; for example “StockPrice.*”.
Select the role type:
Click OK.
Deleting an access role from a message queue or topic
To delete an access role from a message consumer, select the appropriate folder:
Message consumer |
Folder title |
---|---|
Active queue |
Active Queues |
Inactive queue |
Configured Queues |
Active topic |
Active Topics |
Inactive topic |
Configured Topics |
Select a message queue or topic from the list, and select File | Properties.
In the Properties dialog box, select the Role tab.
Select a role from the list and click Delete.
Copyright © 2005. Sybase Inc. All rights reserved. |