Deleting a WS-Notification permanent topic namespace using the wsadmin tool

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.

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:

Purpose

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.

Command name
deleteWSNTopicNamespace
Target
WSNTopicNamespace
Result
Removal of an existing WS-Notification topic namespace and associated objects from the configuration.

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 using the wsadmin tool".

$AdminTask deleteWSNTopicNamespace $newTopicNamespace



Related concepts
Learning about WS-Notification
Related tasks
WS-Notification - publish and subscribe messaging for Web services
Securing WS-Notification
Related reference
Listing WS-Notification topic namespaces using the wsadmin tool
Showing the properties of a WS-Notification topic namespace using the wsadmin tool
WS-Notification troubleshooting tips
Creating a new permanent WS-Notification topic namespace using the wsadmin tool
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 4:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-dist&topic=rjwsn_cli_wsntns_del
File name: rjwsn_cli_wsntns_del.html