Use the modifySIBLink command to modify the properties of a service integration bus link.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere Application Server scripts using wsadmin scripting.
print AdminTask.help('SIBAdminCommands')
print AdminTask.help('command_name')
AdminConfig.save()
The modifySIBLink command modifies the properties of a service integration bus link.
None.
None.
The port for the bootstrap endpoint is the port defined on the SIB endpoint address that is configured on the target application server on the foreign bus.
The transport chain name must be the name of the transport chain as defined on the server on which the target messaging engine is hosted.
You must have predefined a J2C authentication alias.
Default | Started |
Range |
|
This option is supported only when used by a JMS application that is running with a WebSphere Application ServerVersion 7.0 or later server or client, and that is connected to a messaging engine running on WebSphere Application ServerVersion 7.0 or later server. Use on previous versions of WebSphere Application Server will result in an exception to the application.
Default | TRUE |
Range |
|
wsadmin>AdminTask.showSIBLink('[-bus bus1 -messagingEngine node01.server1-bus1 -sibLink mySIBLink]') '{bootstrapEndpoints=host1:1111:chain1, protocolName=null, authAlias=null, preferLocalQueuePoints=true, name=mySIBLink, uuid=34647E59163B253D, remoteMessagingEngineName=node02.server2-bus2, description=null, targetUuid=BAD49BA75CD36D740E366978, initialState=STARTED, exceptionDestination=$DEFAULT_EXCEPTION_DESTINATION}' wsadmin>AdminTask.modifySIBLink('[-bus bus1 -messagingEngine node01.server1-bus1 -name MySIBLink -foreignBusName -bus2 -bootstrapEndpoints anotherhost:2222:BootstrapBasicMessaging]') wsadmin>AdminTask.showSIBLink('[-bus bus1 -messagingEngine node01.server1-bus1 -sibLink mySIBLink]') '{bootstrapEndpoints=anotherhost:2222:BootstrapBasicMessaging, protocolName=null, authAlias=null, preferLocalQueuePoints=true, name=mySIBLink, uuid=34647E59163B253D, remoteMessagingEngineName=node02.server2-bus2, description=null, targetUuid=BAD49BA75CD36D740E366978, initialState=STARTED, exceptionDestination=$DEFAULT_EXCEPTION_DESTINATION}'
Modify a service integration bus link so that there is no preference for which queue points to use.
AdminTask.modifySIBLink('[-bus bus1 -messagingEngine cluster1.000-bus1 -name MyLink -foreignBusName -FB1 bootstrapEndpoints host1:1111:chain1 -remoteMessagingEngineName -cluster2.000-FB1 -preferLocal FALSE]')