Determining topic role inheritance by using the wsadmin tool

Use these commands to list whether the child topics within a topic hierarchy currently have inheritance set or disabled.

To run these commands, use the AdminTask object of the wsadmin scripting client. Each command acts on multiple objects in one operation. The commands are provided to allow you to make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.

[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 security commands in Jython and a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('SIBAdminBusSecurityCommands')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

Commands

Determining Inherit Receiver for Topic
To determine whether a role is inheritance Receiver for a topic within the specified topic space, use the following command:
  • Using Jython:
    AdminTask.isInheritReceiverForTopic("-bus busName -type typeName
     -destination destinationName")
  • Using Jacl:
    $AdminTask isInheritReceiverForTopic {-bus busName -type typeName
     -destination destinationName}
Determining Inherit Sender for Topic
To determine whether a role is inheritance Sender for a topic within the specified topic space, use the following command:
  • Using Jython:
    AdminTask.isInheritSenderForTopic("-bus busName -type typeName
     -destination destinationName")
  • Using Jacl:
    $AdminTask isInheritSenderForTopic {-bus busName -type typeName
     -destination destinationName}