Defining topic role inheritance by using the wsadmin tool

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.

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')

After using the command, save your changes to the master configuration; for example, by using the following command:

AdminConfig.save()

Commands

Defining Sender role inheritance
To set or disable Sender role inheritance for a topic within the specified topic space, use the following command:
  • Using Jython:
    AdminTask.setInheritSenderForTopic("-bus busName
     -topicSpace topicSpaceName 
     -topic topicName -inherit <true|false>")
    
  • Using Jacl:
    $AdminTask setInheritSenderForTopic {-bus busName
     -topicSpace topicSpaceName 
     -topic topicName -inherit <true|false>}
    
Defining Receiver role inheritance
To set or disable Receiver role inheritance for a topic within the specified topic space, use the following command:
  • Using Jython:
    AdminTask.setInheritReceiverForTopic("-bus busName
     -topicSpace topicSpaceName -topic topicName
     -inherit <true|false>")
    
  • Using Jacl:
    $AdminTask setInheritReceiverForTopic {-bus busName
     -topicSpace topicSpaceName
     -topic topicName -inherit <true|false>}
    
Reference topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 7:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-dist&topic=rjr_topic_roles_define
File name: rjr_topic_roles_define.html