Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop Service integration


Program mediations

Several distinct tasks are involved in programming a mediation. Typically, the mediation code is written by a programmer, and is then deployed and administered by an integrator.

Code examples for writing a mediation are provided in the following topic: Add mediation function to handler code.

The following application programming interfaces are provided for you to work with messages:

We can deploy mediations by using tooling such as the Rational Application Developer tools.

The tasks for programming a mediation are as follows:

Develop

Write a mediation by adding functional code to a mediation handler.

Deploy

Add a mediation to a mediation handler list, and deploying it.

Administer

Associate a mediation handler with a destination (optional), and configuring the parameters to be used by the mediation handler at run time.
Take the following steps to program a mediation:


Procedure

  1. Create a mediation handler. See Write a mediation handler.

  2. Add mediation function code to your mediation handler. See Add mediation function to handler code.
  3. Working with the message payload, for example for logging messages within a mediation. See Work with the message payload.

  4. Use the Rational Application Developer tools 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 Rational Application Developer information center for information about how to do this.


Related


Example: Using mediations to trace, monitor and log messages

+

Search Tips   |   Advanced Search