deleteWSNAdministeredSubscriber command

Use the deleteWSNAdministeredSubscriber command to delete a WS-Notification administered subscriber. An administered subscriber provides a mechanism for the WS-Notification service point to subscribe to an external notification producer at server startup time.

You can delete a WS-Notification administered subscriber by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting WS-Notification administered subscribers.

To run the command, use the AdminTask object of the wsadmin scripting client.

[IBM i][IBM i]The wsadmin scripting client is run from Qshell. [IBM i]For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.

Command-line help is provided for service integration bus commands:

  • For a list of the available WS-Notification commands, plus a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('WSNotificationCommands')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

After using the command, save your changes to the master configuration by using the following command:

AdminConfig.save()

Purpose

This command deletes a WS-Notification administered subscriber.

Target object

WSNAdministeredSubscriber

Required parameters

None.

Conditional parameters

None.

Optional parameters

None.

Example

Delete the administered subscriber newAdminSub created in the example from the topic about creating a new WS-Notification administered subscriber by using the wsadmin tool:
  • Using Jython:
    AdminTask.deleteWSNAdministeredSubscriber(newAdminSub)
  • Using Jacl:
    $AdminTask deleteWSNAdministeredSubscriber $newAdminSub

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 5, 2017 17:54
File name: rjwsn_cli_wsnadminsub_del.html