Network Deployment (Distributed operating systems), v8.0 > Reference > Developer detailed usage information


SIMessageContext

Public interface SIMessageContext extends javax.xml.rpc.handler.MessageContext. This is the object that is required on the interface of a mediation handler. In addition to the context information that might be passed from one handler to another, it can return a reference to an SIMessage and an SIMediationSession.

The SIMessage is the service integration technologies representation of the message being processed by the MediationHandler. The SIMediationSession is a handle to the runtime resources.

The interface MessageContext abstracts the message context that is processed by a handler in the handle method. The MessageContext interface provides methods to manage a property set. MessageContext properties enable handlers in a handler chain to share processing related state.

As well as defining the method that is invoked by the mediation runtime environment, the interface might also specify properties following the Enterprise JavaBeans naming pattern, or by providing a BeanInfo class. Each property of the bean will be initialized from a single environment entry with the same name as the property. Bean properties of simple type are specified by using Java EE env-entry. If the handler has properties that are of non-simple type, then other environment definitions may be used.

The API has two methods:


Mediation programming
API documentation - Application programming interfaces (package: com.ibm.websphere.sib.mediation.messagecontext, class: SIMessageContext

+

Search Tips   |   Advanced Search