Use a command script to delete a WS-Notification permanent topic namespace and the associated resources. A topic namespace is a grouping of topics that allows information to be shared between applications. You use a permanent topic namespace to statically define the association between a WS-Notification topic namespace URI and a service integration bus topic space destination.
Deleting the topic namespace mapping that was used to establish a (currently active) subscription has the same effect as deleting the underlying service integration bus topic space, and subscriptions that were created using this namespace mapping are deleted. For more information about the effect that deleting a topic namespace has upon new and existing WS-Notification applications, see Side-effects of changing topic space and topic namespace configurations.
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:
This command deletes all the objects associated with the specified WS-Notification topic namespace. This deletion includes deletion of any linked topic namespace documents and removal of the corresponding XML files from the SDO Repository.
None.
None.
Delete the WS-Notification topic namespace "newTopicNamespace" created in the example from topic "Creating a new permanent WS-Notification topic namespace using the wsadmin tool".
$AdminTask deleteWSNTopicNamespace $newTopicNamespace