showWMQ command

Use the showWMQ command to show the settings which can be set by the manageWMQ command.

如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。

[IBM i]wsadmin Scripting 用戶端是從 Qshell 執行的。 如需相關資訊,請參閱「配置 Qshell 執行 WebSphere® Application Server Script」主題。

只有在搭配 WebSphere Application Server 第 7 版及版本更新的應用程式伺服器時,這個指令才有效。請勿搭配較舊的版本來使用它。

如需可用的 IBM MQ 傳訊提供者管理指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:

print AdminTask.help('WMQAdminCommands')

如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:

print AdminTask.help('command_name')

使用該指令之後,將您所做的變更儲存到主要配置。例如,使用下列指令:

AdminConfig.save()

Purpose

Use the showWMQ command to display all the parameters, and their values that can be set by the manageWMQ command. These settings are either related to the IBM MQ resource adapter or the IBM MQ messaging provider. The command also shows custom properties which are set on the IBM MQ resource adapter.

The following settings are expected:
  • maxConnections
  • connectionConcurrency (Setting this property only affects WebSphere Application Server 7 nodes. The property has no effect for WebSphere Application Server Version 8 or later nodes.)
  • reconnectionRetryCount
  • reconnectionRetryInterval
  • nativePath
  • enableInbound
  • disableWMQ (this parameter is only visible when setting it is valid, see the description of the manageWMQ command for more information)

For a description of these settings, see manageWMQ command.

Any other setting that is shown is either a custom property or a property that is not appropriate in WebSphere Application Server.

Target object

A IBM MQ resource adapter.

Required parameters

None.

Optional parameters

None.

Example

  • Using Jython:
    wsadmin>AdminTask.showWMQ("IBM MQ Resource Adapter
    (cells/L3A3316Node01Cell|resources.xml#J2CResourceAdapter_1284547647859)")
    '{name1=value1, logWriterEnabled=true, maxConnections=100, startupReconnectionRetryCount=500, 
    connectionConcurrency=1, reconnectionRetryCount=3, traceEnabled=false, 
    reconnectionRetryInterval=4, nativePath=[], startupReconnectionRetryInterval=600, traceLevel=3}'
  • Using Jacl:
    wsadmin>$AdminTask showWMQ "IBM MQ Resource Adapter(
    cells/L3A3316Node01Cell|resources.xml#J2CResourceAdapter_1284547647859)"
    {name1=value1, logWriterEnabled=true, maxConnections=100, startupReconnectionRetryCount=500, 
    connectionConcurrency=1, reconnectionRetryCount=3, traceEnabled=false, 
    reconnectionRetryInterval=4, nativePath=[], startupReconnectionRetryInterval=600, traceLevel=3}

指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:13
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rmj_wmq_jmswmq_show
檔名:rmj_wmq_jmswmq_show.html