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.

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:

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 reference
JMS resource administrative commands
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 8:21:57 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-express-iseries&topic=rjn_jmstopic_create
File name: rjn_jmstopic_create.html