listSIBDestinations command

Use the listSIBDestinations command to list the bus destinations for 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 the bus destinations on a bus.

Target object

A bus.

Required parameters

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

Conditional parameters

None.

Optional parameters

-type Queue | TopicSpace | WebService | Port
To list destinations of the specified type.

Example

  • Using Jython:
    wsadmin>AdminTask.listSIBDestinations("-bus abus")
    '(cells/9994GKCCell01/buses/abus|sib-destinations.xml#SIBTopicSpace_1098181446388)
    (cells/9994GKCCell01/buses/abus|sib-destinations.xml#SIBQueue_1098181503600)
    (cells/9994GKCCell01/buses/abus|sib-destinations.xml#SIBQueue_1098184221748)'
    
    AdminTask.listSIBDestinations("-bus abus -type TopicSpace")
    '(cells/9994GKCCell01/buses/abus|sib-destinations.xml#SIBTopicSpace_1098181446388)'
  • Using Jacl:
    wsadmin>$AdminTask listSIBDestinations {-bus abus}
    (cells/9994GKCCell01/buses/abus|sib-destinations.xml#SIBTopicSpace_1098181446388)
    (cells/9994GKCCell01/buses/abus|sib-destinations.xml#SIBQueue_1098181503600)
    (cells/9994GKCCell01/buses/abus|sib-destinations.xml#SIBQueue_1098184221748)
    
    wsadmin>$AdminTask listSIBDestinations {-bus abus -type TopicSpace}
    (cells/9994GKCCell01/buses/abus|sib-destinations.xml#SIBTopicSpace_1098181446388)