Use this command to create a new mediation.
This command provides only a subset of the properties available. If you want to set other properties, you need to use the administrative console or wsadmin and JACL
The command described in this topic is run using the AdminTask object of the wsadmin scripting client.
This command is only valid when run against WebSphere Application Server Version 6 application servers. Do not run it against earlier versions.
wsadmin> $AdminTask help SIBAdminCommands
wsadmin> $AdminTask help command_name
For additional details of the command properties, see the related reference topic.
This command creates a new mediation.
To save the changes made by the command, invoke the "save" command on the AdminConfig object.
None.
If the message does not match the rule defined by the selector text string, then the message is not mediated. If a message contains both Selector and Discriminator, it must match both rules for the message to be mediated. If either the Selector or the Discriminator rule does not match, the message is not mediated.
Compare this property with the selector property. The rule specified by the selector examines the header and properties of the message, while the discriminator examines the topic of the message. If a message contains both selector and discriminator, it must match both rules for the message to be mediated. If either the selector or the discriminator rule does not match, the message is not mediated.
wsadmin>$AdminTask createSIBMediation {-bus abus -mediationName switchMed -handlerListName switchHandler} (cells/9994GKCCell01/buses/abus|sib-mediations.xml#SIBDestinationMediation_1098219493014)