Removing security policies in AMS

To remove security policies in Advanced Message Security, we must use the setmqspl command.


Before starting

There are some entry conditions which must be met when managing security policies:

  • The queue manager must be running.
  • We must have the necessary authority to connect to the queue manager and create a security policy.

    For more information about configuring security see Set up security.


About this task

Use the setmqspl command with the -remove option.


Example

Here is an example of removing a policy:
setmqspl -m QMGR -remove -p MY.OTHER.QUEUE
Parent topic: Manage security policies


Related information