WebSphere WebSphere Application Server Network Deployment, Version 6.1.x Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Programming mediations

This topic is an overview of the tasks involved in programming a mediation. Typically, the mediation code is written by a programmer, and is then deployed and administered by an integrator.

Before you begin

Code examples for writing a mediation are provided at Adding mediation function to handler code.

The following application programming interfaces are provided for you to work with messages:
  • SIMessage API allows you to manipulate the contents of the message.
  • SIMediationSession API provides access to the service integration bus so that your mediation can send and retrieve messages.
Mediations are deployed using the Application Server Toolkit.
About this task

The tasks for programming a mediation are:

Developing
Writing a mediation by adding functional code to a mediation handler.
Deploying
Adding a mediation to a mediation handler list, and deploying it.
Administering
Associating a mediation handler with a destination (optional), and configuring the parameters to be used by the mediation handler at runtime.
Take the following steps to program a mediation:

Procedure

  1. Create a mediation handler. For more information, see Writing a mediation handler.
  2. Add mediation function code to your mediation handler. For more information, see Adding mediation function to handler code.
  3. Working with the message payload, for example for logging messages within a mediation. For more information, see Working with the message payload.
  4. Use the Application Server Toolkit deployment wizard to create a handler list, add your mediation handler to the list, and deploy the handler list as an Enterprise Archive (EAR file). See the Application Server Toolkit information center for information about how to do this.
Related reference
Example: Using mediations to trace, monitor and log messages

Task topic

Terms of use | Feedback


Timestamp icon Last updated: 26 February 2009
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.nd.multiplatform.doc/tasks/tjy1000.html

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