Use this command to change properties of a 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
To run the command, use the AdminTask object of the wsadmin scripting client.
This command is only valid when used with WebSphere® Application Server Version 6 and later application servers. Do not use it with earlier versions.
Command-line help is provided for service integration bus commands:
wsadmin> $AdminTask help SIBAdminCommands
wsadmin> $AdminTask help command_name
For additional details of the command properties, see the related reference topic.
This command changes properties of a 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 showSIBMediation {-bus abus -mediationName switchMed} {uuid 39588C4821BB046E} {selector {}} {contextInfo {}} {discriminator {}} {allowConcurrentMediation false} {globalTransaction false} {mediationName switchMed} {handlerListName switchHandler} {description {}} wsadmin>$AdminTask modifySIBMediation {-bus abus -mediationName switchMed -selector {JMSXDeliveryCount > 1000}} wsadmin>$AdminTask showSIBMediation {-bus abus -mediationName switchMed} {uuid 39588C4821BB046E} {selector {JMSXDeliveryCount > 1000}} {contextInfo {}} {discriminator {}} {allowConcurrentMediation false} {globalTransaction false} {mediationName switchMed} {handlerListName switchHandler} {description {}}