+

Search Tips   |   Advanced Search

Define topic role inheritance

Use these commands to define the inheritance of topic roles by child topics within a topic hierarchy.

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:

After using the command, save the changes to the master configuration using the following command:

AdminConfig.save()


Commands

Define Sender role inheritance

To set or disable Sender role inheritance for a topic within the specified topic space.

  • Use Jython:
    AdminTask.setInheritSenderForTopic("-bus busName
     -topicSpace topicSpaceName 
     -topic topicName -inherit <true|false>")
    

  • Use Jacl:
    $AdminTask setInheritSenderForTopic {-bus busName
     -topicSpace topicSpaceName 
     -topic topicName -inherit <true|false>}
    

Define Receiver role inheritance

To set or disable Receiver role inheritance for a topic within the specified topic space.

  • Use Jython:
    AdminTask.setInheritReceiverForTopic("-bus busName
     -topicSpace topicSpaceName -topic topicName
     -inherit <true|false>")
    

  • Use Jacl:
    $AdminTask setInheritReceiverForTopic {-bus busName
     -topicSpace topicSpaceName
     -topic topicName -inherit <true|false>}