+

Search Tips   |   Advanced Search

Determining topic role inheritance

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 us to make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.

(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .

Command-line help is provided for service integration bus commands:


Commands

Determining Inherit Receiver for Topic

To determine whether a role is inheritance Receiver for a topic within the specified topic space.

  • Use Jython:
    AdminTask.isInheritReceiverForTopic("-bus busName -type typeName
     -destination destinationName")
    

  • Use 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 Jython:
    AdminTask.isInheritSenderForTopic("-bus busName -type typeName
     -destination destinationName")
    

  • Use Jacl:
    $AdminTask isInheritSenderForTopic {-bus busName -type typeName
     -destination destinationName}