WebSphere WebSphere Application Server Network Deployment, Version 6.1.x Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Modifying an existing JMS queue using the wsadmin tool

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

To run the command, use the AdminTask object of the wsadmin scripting client.

For i5/OS platforms 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 changes the properties of a JMS queue for the default messaging provider at a specific scope.

Command name
modifySIBJMSQueue
Target
A JMS queue.
Result
A JMS queue (modified).

Required parameters

None.

Optional parameters

-name jmsqueue_name
-jndiName jndi_name
-queueName queue_name
-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 modifySIBJMSQueue jmsq2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098737234986)
 {-queueName q2forjms}
jmsq2(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CAdminObject_1098737234986)

Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 26 February 2009
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.nd.multiplatform.doc/ref/rjn_jmsqueue_modify.html

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