Creating a new JMS queue using the wsadmin tool

Use this command to create a new JMS queue 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 queue for the default messaging provider at a specific scope.

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

Required parameters

-name jmsqueue_name
-jndiName jndi_name
-queueName queue_name

Optional parameters

-description text
-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 createSIBJMSQueue 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)
 {-name jmsq2 -jndiName jms/jnmsq2 -queueName busq4jmsq2}
jmsq2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098737234986)
wsadmin>$AdminTask listSIBJMSQueues 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)
queue1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098711838691)jmsq2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098737234986)



Related reference
JMS resource administrative commands
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 6:03:36 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-iseries&topic=rjn_jmsqueue_create
File name: rjn_jmsqueue_create.html