+

Search Tips   |   Advanced Search

Determine topic role inheritance by

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.

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:


Commands

Determine Inherit Receiver for Topic

To determine whether a role is inheritance Receiver for a topic within the specified topic space, use the following command:

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

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

Determine Inherit Sender for Topic

To determine whether a role is inheritance Sender for a topic within the specified topic space, use the following command:

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

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


Related concepts

  • Messaging security

  • Topic security


    Related information:

  • Topic [Settings] Reference topic