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.
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:
wsadmin> $AdminTask help SIBJMSAdminCommands
wsadmin> $AdminTask help command_name
For additional details of the command properties, see the related reference topic.
This command creates a new JMS activation specification at a specific scope.
To save the changes made by the command, invoke the "save" command on the AdminConfig object.
-name activationSpec_name -jndiName jndi_name -destinationJndiName jndi_name -busName name
-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 -WAS_EndpointInitialState ACTIVE | INACTIVE
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)
wsadmin>attrs = '[[name "WAS_EndpointInitialState"] [required "false"] [type "java.lang.String"] [value "ACTIVE"]]' wsadmin>AdminConfig.getid("/Node:myNode01") myNode01(cells/myCell01/nodes/myNode01|node.xml#Node_1)' wsadmin>theActSpec = AdminTask.createSIBJMSActivationSpec("myNode01(cells/myCell01/nodes/myNode01|node.xml#Node_1)", '-name testas -jndiName testas -destinationJndiName testq -destinationType javax.jms.Queue') wsadmin>AdminConfig.create('J2EEResourceProperty',theActSpec, attrs) 'WAS_EndpointInitialState(cells/myCell01/nodes/myNode01|resources.xml#J2EEResourceProperty_1298546239332)'