Context Parameters

Context Parameters are variables stored the application session. These are useful when there is the need to share a parameter in several points in the application.

The context parameters available on the left side of the input mapper are contained under the root element MessageContext. Context parameters can be used like other elements in the tree.

The following figure shows the mapping of a context parameter, userID.

The Set Context mediation task is used to set values for the context parameters. The input mapper for the Set Context task shows the context parameters defined for the target interface or the mediation interface if the Set Context task is on the output or fault path.

The following figure shows the mapping of two context parameters. The parameters userID and userVal are defined for mediation interfaces, and the parameters ID and Val are defined the target interface.