Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
modifySIBWMQServerBusMember command
Use the modifySIBWMQServerBusMember command to modify the attributes of a WebSphere MQ server bus member.
To run the command, use the AdminTask object of the wsadmin scripting client.
Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus commands in Jython and a brief description of each command, enter the following command at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save changes to the master configuration; for example, by using the following command:
AdminConfig.save()
A WebSphere MQ server bus member is used for assigning queue points and mediation points to WebSphere MQ queues. This command modifies the attributes of a WebSphere MQ server bus member.
Target object
A selected WebSphere MQ server bus member.
Required parameters
-name
The administrative name of the WebSphere MQ server bus member. This value is the name specified in the -name parameter when creating the WebSphere MQ server definition.
-bus
The name of the service integration bus of which the WebSphere MQ server is a member.
Conditional parameters
None
Optional parameters
-virtualQueueManagerName
When sending messages to WebSphere MQ, the WebSphere MQ gateway queue manager sees the bus as a remote queue manager. The virtual queue manager name is the name that is passed to WebSphere 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 WebSphere MQ queue manager, or if another WebSphere MQ queue manager already has the same name, replace the default value with a unique, valid name for a WebSphere MQ queue manager.
- It must contain between 1 and 48 characters.
- It must conform to the WebSphere MQ queue naming rules (see the Rules for naming WebSphere MQ objects topic in the WebSphere MQ information center).
-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 WebSphere 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 WebSphere MQ server represents listens. The default value is 1414.
-channel
The new value for the overridden channel attribute. This value is the WebSphere MQ client channel name to use when connecting to the queue manager or queue-sharing group that this WebSphere 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 WebSphere 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 WebSphere 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 WebSphere 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
### Jython
wsadmin>AdminTask.modifySIBWMQServerBusMember(["-name", "Finance dept QM-Bus1", "-bus", "Bus1", "-trustUserIds", "false"])### Jacl
wsadmin>$AdminTask modifySIBWMQServerBusMember {-name "Finance dept QM-Bus1" -bus Bus1 -trustUserIds false}