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

Creating a new JMS topic using the wsadmin tool

Use this command to create a new JMS topic for the default messaging provider at a specific scope.

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 and later application servers. Do not run it against earlier versions.

Command-line help is provided with each of the commands:

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

Purpose

This command creates a JMS topic for the default messaging provider at a specific scope.

Command name
createSIBJMSTopic
Target
Scope of the default messaging provider at which the JMS topic is to be created.
Result
A JMS topic for the default messaging provider.

Required Parameters

-name jmstopic_name
-jndiName jndi_name

Optional Parameters

-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 createSIBJMSTopic 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)
 {-name jmstopic2 -jndiName jms/jnmstopic2 -topicSpace sportshall}
jmstopic2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098738992263)

wsadmin>$AdminTask listSIBJMSTopics 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)
topic1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098738449292)
jmstopic2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098738992263)
Related information
JMS topic settings

Reference topic

Terms of Use | Feedback

Last updated: 15 Mar 2007
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.pmc.nd.doc\ref\rjn_jmstopic_create.html

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