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

Creating a new JMS activation specification using the wsadmin tool

Use this command to create a new JMS activation specification 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 creates a new JMS activation specification at a specific scope.

Command name
createSIBJMSActivationSpec
Target
Scope of the default messaging provider at which the JMS activation specification is to be created.
Result
A JMS activation specification.

To save the changes made by the command, invoke the "save" command on the AdminConfig object.

Required parameters

-name activationSpec_name
-jndiName jndi_name
-destinationJndiName jndi_name
-busName name

Optional parameters

-description text
-acknowledgeMode mode
-authenticationAlias alias_name
-clientId id
-destinationType Queue | Topic
-durableSubscriptionHome me_name
-maxBatchSize integer
-maxConcurrency integer
-messageSelectorstring
-password password
-subscriptionDurability string
-subscriptionName string
-shareDurableSubscriptions True | False
-userName user_name

Example

wsadmin>$AdminConfig getid /Node:9994GKCNode01
9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)

wsadmin>$AdminTask createSIBJMSActivationSpec 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)
 {-name myjmsas -jndiName jms/myjmsas -destinationJndiName jms/mqueue -busName abus}
myjmsas(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CActivationSpec_1098726667851)

wsadmin>$AdminTask listSIBJMSActivationSpecs 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)
myjmsas(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#J2CActivationSpec_1098726667851)

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_jmsas_create.html

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