showWMQ 命令

使用 showWMQ 命令来显示可通过 manageWMQ 命令设置的设置。

要运行此命令,请使用 wsadmin 脚本编制客户机的 AdminTask 对象。

[IBM i]wsadmin 脚本编制客户机是从 Qshell 运行的。有关更多信息,请参阅“配置 Qshell 以运行 WebSphere® Application Server 脚本”主题。

此命令仅适用于 WebSphere Application Server V7 和更高版本的应用程序服务器。请不要对先前版本使用此命令。

要获取可用的 IBM MQ 消息传递提供程序管理命令的列表以及每个命令的简短描述,请在 wsadmin 提示符处输入以下命令:

print AdminTask.help('WMQAdminCommands')

要获取有关给定命令的总体帮助,请在 wsadmin 提示符处输入以下命令:

print AdminTask.help('command_name')

在使用这些命令之后,保存对主配置所做的更改。例如,使用以下命令:

AdminConfig.save()

用途

使用 showWMQ 命令来显示可通过 manageWMQ 命令设置的所有参数及其值。这些设置与 IBM MQ 资源适配器或 IBM MQ 消息传递提供程序相关。此命令还会显示在 IBM MQ 资源适配器上设置的定制属性。

应设置以下设置:
  • maxConnections
  • connectionConcurrency (设置此属性仅影响 WebSphere Application Server 7 的节点。该属性对 WebSphere Application Server V8 或更高版本的节点没有影响。)
  • reconnectionRetryCount
  • reconnectionRetryInterval
  • nativePath
  • enableInbound
  • disableWMQ(仅当设置有效时,此参数才可视,有关更多信息,请参阅 manageWMQ 命令的描述)

有关这些设置的描述,请参阅manageWMQ 命令

显示的所有其他设置是定制属性或在 WebSphere Application Server 中不适用的属性。

目标对象

IBM MQ 资源适配器。

必需参数

无。

可选参数

无。

示例

  • 使用 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}'
  • 使用 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}

指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rmj_wmq_jmswmq_show
文件名:rmj_wmq_jmswmq_show.html