This topic describes the SIMediationSession interface which defines the methods for querying and interacting with the service integration bus. It also includes methods that provide information on where the mediation is being invoked from.
public interface SIMediationSession
As well as defining the methods for working with the service integration bus, this API also includes methods that provide information on where the mediation is invoked from, and the criteria that are applied before the message is mediated.
Both selector and discriminator control which messages are sent to the mediation, through a rule specified in a text string. 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.
See also the generated API information for SIMessageContext .