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.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.
Command-line help is provided for service integration bus commands:
print AdminTask.help('WSNotificationCommands')
print AdminTask.help('command_name')
AdminConfig.save()
This command deletes a WS-Notification administered subscriber.
WSNAdministeredSubscriber
None.
None.
None.
AdminTask.deleteWSNAdministeredSubscriber(newAdminSub)
$AdminTask deleteWSNAdministeredSubscriber $newAdminSub