listSIBMediations command

Use the listSIBMediations command to list mediations on a service integration bus.

To run the command, use the AdminTask object of the wsadmin scripting client.

[IBM i][IBM i]The wsadmin scripting client is run from Qshell.

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, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

Purpose

This command lists all mediations on a service integration bus.

Target object

A service integration bus

Required parameters

-bus busname
The name of the service integration bus on which the mediations are configured. You can use the listSIBuses command to list the names of existing buses.

Conditional parameters

None.

Optional parameters

None.

Example

  • Using Jython:
    wsadmin>AdminTask.listSIBMediations("-bus abus")
    (cells/9994GKCCell01/buses/abus|sib-mediations.xml#SIBDestinationMediation_1098217858584)
    (cells/9994GKCCell01/buses/abus|sib-mediations.xml#SIBDestinationMediation_1098220051588)
  • Using Jacl:
    wsadmin>$AdminTask listSIBMediations {-bus abus}
    (cells/9994GKCCell01/buses/abus|sib-mediations.xml#SIBDestinationMediation_1098217858584)
    (cells/9994GKCCell01/buses/abus|sib-mediations.xml#SIBDestinationMediation_1098220051588)