WebSphere WebSphere Application Server Express, Version 6.0.x Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Modifying a new JMS topic through the command line

Use this command to change the properties of a JMS topic for the default messaging provider at a specific scope.

Before you begin

The command described in this topic is run using the AdminTask object of the wsadmin scripting client.

This command is only valid when run against WebSphere Application Server Version 6 application servers. Do not run it against earlier versions.

Command-line help is provided with each of the service integration technologies commands:
  • For a list of all the available service integration bus JMS commands, plus a brief description of each command, type the following command:
    wsadmin> $AdminTask help SIBJMSAdminCommands
  • For detailed help on a given command, enter the following command:
    wsadmin> $AdminTask help command_name

For additional details of the command properties, see the related reference topic.

Purpose

This command changes the properties of a JMS topic for the default messaging provider at a specific scope.

Command name
modifySIBJMSTopic
Target
A JMS topic.
Result
A JMS topic (modified).

Required Parameters

None.

Optional Parameters

-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

Example

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}
Related information
JMS topic settings

Reference topic

Terms of Use | Feedback

Last updated: 2 Aug 2005
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.pmc.express.doc\ref\rjn_jmstopic_modify.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)