Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | JMSAdmin Command Reference | JMSAdmin Command Descriptions | Delete Topic
Delete Topic
Deletes from the Broker the supporting Broker document types (also referred to as event types) for a topic.
delete { topic | topics } ( topic-name )+
delete { topic | topics } using { ( lookup-name )+ | * }
You must establish a connection to the Broker before using this command.
The first form deletes the document type(s) specified in topic-name; each must be a document type name and can include document type scopes.
The second form deletes the document type for the topic bound to JNDI as lookup-name. If you specify an asterisk (*) for lookup-name, this command will delete the document types for all topic objects in the current context.
The following example deletes two specified document types from the Broker:
\> delete topic Acme::JMS::Topics::OrdReceived Acme::JMS::OrdShipped
The following deletes the document type that corresponds to the topic object bound to the JNDI name nNewEmp:
\> delete topic using nNewEmp
Related Commands
Bind Topic
Create Topic
Modify Topic