Use a command script 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.
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 the topic "Configure Qshell to
run WebSphere® Application
Server scripts".
This command is only valid when used with WebSphere Application Server Version 6.1 and later application servers. Do not use it with earlier versions.
Command-line help is provided for service integration bus commands:
wsadmin> $AdminTask help WSNotificationCommands
wsadmin> $AdminTask help command_name
This command deletes a WS-Notification administered subscriber.
None.
None.
None.
Delete the administered subscriber "newAdminSub" created in the example from topic "Creating a new WS-Notification administered subscriber using the wsadmin tool":
$AdminTask deleteWSNAdministeredSubscriber $newAdminSub