+

Search Tips   |   Advanced Search

Define topic role inheritance by

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

The wsadmin scripting client is run from Qshell. For more information, 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 the following command:

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

  • 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 the following command:

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

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


Related concepts

  • Messaging security

  • Topic security


    Related information:

  • Topic [Settings] Reference topic