Use this command to change the properties of 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.
The wsadmin
scripting client is run from Qshell. For more information, see the topic "Configure
Qshell to run WebSphere Application Server scripts".
This command is only valid when used with WebSphere Application Server Version 6 and later application servers. Do not use it with earlier versions.
Command-line help is provided for service integration bus commands:
wsadmin> $AdminTask help SIBJMSAdminCommands
wsadmin> $AdminTask help command_name
For additional details of the command properties, see the related reference topic.
This command changes the properties of a JMS topic for the default messaging provider at a specific scope.
None.
-name jmstopic_name -jndiName jndi_name -description text -topicName topic_name -topicSpace topicspace_name -deliveryMode Application | NonPersistent | Persistent -timeToLive time -priority priority -readAhead AsConnection | AlwaysOn | AlwaysOff -busName name
wsadmin>$AdminConfig getid /Node:9994GKCNode01 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) wsadmin>$AdminTask modifySIBJMSTopic jmstopic2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098738992263) {-jndiName jms/jnmstopic2 -topicName archery -readAhead AlwaysOn} jmstopic2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098738992263) wsadmin>$AdminTask showSIBJMSTopic jmstopic2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098738992263) {topicSpace=sportshall, deliveryMode=Application, jndiName=jms/jnmstopic2, busName=, readAhead=AlwaysOn, name=jmstopic2, timeToLive=, priority=, topicName=archery}