showSIBJMSActivationSpec command
Use the showSIBJMSActivationSpec command to show properties of a JMS activation specification for the default messaging provider at a specific scope.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需 Jython 中可用的服務整合匯流排 JMS 指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBJMSAdminCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
Purpose
This command returns a set of property-value pairs for the specified JMS activation specification.
Target object
A JMS activation specification.
Required parameters
None.
Optional parameters
None.
Example
- Using Jython:
wsadmin>AdminConfig.getid("/Node:9994GKCNode01" ) '9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)' wsadmin>AdminTask.listSIBJMSActivationSpecs("9994GKCNode01(cells/ 9994GKCNode01Cell/nodes/9994GKCNode01|node.xml)") 'myjmsas(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CActivationSpec_1098726667851)' wsadmin>AdminTask.showSIBJMSActivationSpec("myjmsas(cells/9994GKCNode01Cell/ nodes/9994GKCNode01|resources.xml#J2CActivationSpec_1098726667851)") myjmsas(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CActivationSpec_1098726667851) '{busName=abus, subscriptionDurability=Nondurable, description=, destinationType=, password=, targetTransportChain=, acknowledgeMode=Auto-acknowledge, readAhead=Default, clientId=, authenticationAlias=, name=myjmsas, maxConcurrency=10, maxBatchSize=1, durableSubscriptionHome=, userName=, messageSelector=, shareDurableSubscriptions=InCluster, jndiName=jms/myjmsas, shareDataSourceWithCMP=false, destination=, destinationJndiName=jms/mqueue, subscriptionName=}'
- Using Jacl:
wsadmin>$AdminConfig getid /Node:9994GKCNode01 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) wsadmin>$AdminTask listSIBJMSActivationSpecs 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) myjmsas(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CActivationSpec_1098726667851) wsadmin>$AdminTask showSIBJMSActivationSpec myjmsas(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# J2CActivationSpec_1098726667851) {busName=abus, subscriptionDurability=Nondurable, description=, destinationType=, password=, targetTransportChain=, acknowledgeMode=Auto-acknowledge, readAhead=Default, clientId=, authenticationAlias=, name=myjmsas, maxConcurrency=10, maxBatchSize=1, durableSubscriptionHome=, userName=, messageSelector=, shareDurableSubscriptions=InCluster, jndiName=jms/myjmsas, shareDataSourceWithCMP=false, destination=, destinationJndiName=jms/mqueue, subscriptionName=}