Use the deleteWSNTopicNamespace command 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.
You can delete WS-Notification permanent topic namespaces by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting WS-Notification permanent topic namespaces.
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 Failures as a result of changes in topic space and topic namespace configurations.
To run the command, use the AdminTask object of the wsadmin scripting client.
print AdminTask.help('WSNotificationCommands')
print AdminTask.help('command_name')
AdminConfig.save()
This command deletes all the objects associated with the specified WS-Notification topic namespace, including any linked topic namespace documents.
WSNTopicNamespace and associated objects.
None.
None.
AdminTask.deleteWSNTopicNamespace(newTopicNamespace)
$AdminTask deleteWSNTopicNamespace $newTopicNamespace