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 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 concepts
Learning about mediations
Related tasks
Working with the message context
Configuring mediation context properties
Concept topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 10:43:27 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v602web&product=was-nd-mp&topic=cjp0008_
File name: cjp0008_.html