Access roles

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.

StepsAdding an access role

  1. 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

  2. Select a queue or topic from the list, and select File | Add.

  3. In the Properties dialog, select the Roles tab.

  4. Click Add.

  5. 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.*”.

  6. Select the role type:

  7. Click OK.

StepsDeleting an access role from a message queue or topic

  1. 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

  2. Select a message queue or topic from the list, and select File | Properties.

  3. In the Properties dialog box, select the Role tab.

  4. Select a role from the list and click Delete.