deleteSIBJMSTopic command
Use the deleteSIBJMSTopics command to delete a JMS topic for the default messaging provider at a specific scope.
To run the command, use the AdminTask object of the wsadmin scripting client.
(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .
Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus JMS commands in Jython and a brief description of each command, enter at the wsadmin prompt:
print AdminTask.help('SIBJMSAdminCommands')
- For overview help on a given command, enter at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration using the following command:
AdminConfig.save()
This command deletes the specified JMS topic.
Target object
A JMS topic.
Required parameters
None.
Optional parameters
None.
Example
- Use Jython:
wsadmin>AdminConfig.getid("/Node:9994GKCNode01") '9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)' wsadmin>AdminTask.deleteSIBJMSTopic("jmstopic2(cells/9994GKCNode01Cell/nodes/ 9994GKCNode01|resources.xml#J2CAdminObject_1098738992263)") 'jmstopic2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CAdminObject_1098738992263)'- Use Jacl:
wsadmin>$AdminConfig getid /Node:9994GKCNode01 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) wsadmin>$AdminTask deleteSIBJMSTopic jmstopic2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CAdminObject_1098738992263) jmstopic2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CAdminObject_1098738992263)