WebSphere WebSphere Application Server Express, Version 6.0.x Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Mediation context information

Mediation context information is used to ensure that messages are processed correctly.

The mediation context information comprises property values that are passed to each mediation at runtime. The property values, in conjunction with the information in the message header, contribute to the way in which a message is mediated.

The context properties (name, value and type) are specified for both mediations and destinations bus destinations using the administrative console. The mediation uses both sets of context properties, but those for a bus destination takes precedence over the context properties for a mediation. For example, if a property with the same name is configured for a destination and a mediation, the property on the destination takes precedence.

When a message is mediated and a mediation handler is invoked, the information specified in the context information is accessed by the getProperty() method and becomes an entry in the MessageContext information for the mediation handler. The documentation for each mediation handler describes the information it expects to find in the MessageContext property.

When a mediation handler is invoked in the context of a mediation handler list, the message context may be passed from one handler to the next in sequence.

Related tasks
Working with the message context
Configuring mediation context properties

Concept topic

Terms of Use | Feedback

Last updated: 2 Aug 2005
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.pmc.express.doc\concepts\cjp0008_.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)