modifySIBWMQServerBusMember command

Use the modifySIBWMQServerBusMember command to modify the attributes of a IBM MQ server bus member.

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

[IBM i][IBM i]wsadmin Scripting 用戶端是從 Qshell 執行. [IBM i]如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.

服務整合匯流排指令有指令行說明:
  • 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:

    print AdminTask.help('SIBAdminCommands')

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

    print AdminTask.help('command_name')

使用指令之後,請利用下列指令,儲存對主要配置所做的變更:

AdminConfig.save()

Purpose

A IBM MQ server bus member is used for assigning queue points and mediation points to IBM MQ queues. This command modifies the attributes of a IBM MQ server bus member.

Target object

A selected IBM MQ server bus member.

Required parameters

-name
This value is the name specified in the -name parameter when creating the IBM MQ server definition.
-bus
The name of the service integration bus of which the IBM MQ server is a member.

Conditional parameters

None

Optional parameters

-virtualQueueManagerName
When sending messages to IBM MQ, the IBM MQ gateway queue manager sees the bus as a remote queue manager. The virtual queue manager name is the name that is passed to IBM MQ as the name of this remote queue manager.
The default value is the name of the Service Integration bus. If this bus name is not a valid name for a IBM MQ queue manager, or if another IBM MQ queue manager already has the same name, replace the default value with a unique, valid name for a IBM MQ queue manager.
  • 它必須包含介於 1 和 48 個字元之間。
  • 它必須符合 IBM MQ 佇列命名規則(請參閱 IBM MQ 資訊中心的 IBM MQ 物件命名規則主題)。
-host
The new value for the overridden host attribute. This value is the name or the IP address of the host to which a connection is established for communicating with a queue manager or queue-sharing group that this IBM MQ server represents. The value is a string and must be one of the following:
  • Symbolic host name
  • IPv4 address
  • IPv6 address
-port
The new value for the overridden port attribute. This value is the TCP/IP port number on which the queue manager or queue-sharing group that this IBM MQ server represents listens. The default value is 1414.
-channel
The new value for the overridden channel attribute. This value is the IBM MQ client channel name to use when connecting to the queue manager or queue-sharing group that this IBM MQ server represents. The default value is SYSTEM.DEF.SVRCONN.
-securityAuthAlias
The new value for the overridden securityAuthAlias attribute. This value is the authentication alias to use when connecting to a queue manager or queue-sharing group. This parameter is not the same as the discovery authentication alias.
-transportChain
The new value for the overridden transportChain attribute. This value is the outbound transport chain to use when establishing a connection with IBM MQ. The default value is OutboundBasicWMQClient.
-trustUserIds TRUE | FALSE
The new value for the overridden trustUserIds attribute. This value determines whether user identifiers that are received in messages from IBM MQ are propagated into the message (that is, whether user identifiers that are received as part of message data are used in the service integration bus). The application user identifier is always set from the jsAppUserId RFH2 value. If this is not present (either because the key/value pair is not present in the RFH2 header, or because the message does not have a RFH2 header), this field is not set. If you set this value to FALSE, the user identifier is overwritten with the IBM MQ server name. This parameter has two possible values:
TRUE
User identifiers are propagated into messages.
FALSE
User identifiers are not propagated into messages.
The default is TRUE.

Example

  • Using Jython:
    wsadmin>AdminTask.modifySIBWMQServerBusMember(["-name", "Finance dept QM-Bus1", 
    "-bus", "Bus1", "-trustUserIds", "false"])
  • Using Jacl:
    wsadmin>$AdminTask modifySIBWMQServerBusMember {-name "Finance dept QM-Bus1"
     -bus Bus1 -trustUserIds false}

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



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