+

Search Tips   |   Advanced Search

deleteWSNTopicNamespace command

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.

We can delete WS-Notification permanent topic namespaces by as described in this topic, or by using the administrative console as described in Delete WS-Notification permanent topic namespaces.

Delete 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.

The wsadmin scripting client is run from Qshell. For more information, see Configure Qshell to run WebSphere scripts .

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

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

AdminConfig.save()


Purpose

This command deletes all the objects associated with the specified WS-Notification topic namespace, including any linked topic namespace documents.


Target object

WSNTopicNamespace and associated objects.


Required parameters

None.


Conditional parameters

None.


Optional parameters

-deleteSIBTopicSpace

TRUE or FALSE. Indicates whether the associated service integration bus topic space is deleted with this object if the WS-Notification topic namespace was responsible for creating it. If the bus topic space existed before the WS-Notification topic namespace was created then this parameter has no effect and the bus topic space is not deleted.


Example

Delete the WS-Notification topic namespace newTopicNamespace created in the example from topic "Creating a new permanent WS-Notification topic namespace by ".


Related concepts

  • WS-Notification


    Related tasks

  • Use WS-Notification for publish and subscribe messaging for web services

  • Secure WS-Notification

  • Delete WS-Notification permanent topic namespaces

  • WS-Notification troubleshooting tips


    Related information:

  • Permanent topic namespaces [Collection] Reference topic