Defining a mediation

Use this task to define a mediation in the administrative console.

Before you begin

This task assumes that you have installed your mediation handler module on the WebSphere® Application Server server where you intend to use your mediation. For more information, see Installing a mediation application into WebSphere Application Server.

About this task

Defining a mediation in the administrative console makes it available for the administrator to use to mediate destinations.

To define a mediation, use the administrative console to complete the following steps:

Procedure

  1. Display the Mediations page:
    1. In the navigation pane, click Service integration > Buses
    2. In the content pane, click the name of the service integration bus
    3. Under Destination resources, click Mediations.
  2. In the content pane, click New.
  3. Specify the following properties for the mediation:
    Mediation name
    Type a name for the mediation that is unique to the service integration bus. This name is used to identify the mediation for administrative purposes.
    Description
    Optionally, type a description of the behavior of the mediation, taking into account any properties specified for the mediation.
    Handler list name
    Type the handler list name. This is the name used by the programmer who deployed the mediation handler. Handler list names are unique within the WebSphere Application Server administrative cell.
    Global transaction
    Optionally, select this option (setting it to true) if you want to start a global transaction for each message mediated by the mediation. By default, Global transaction is set to false, and a global transaction is not started when a message is mediated.
    Allow concurrent mediation
    Optionally, select this option (setting it to true) if you want to mediate multiple messages at the mediated destination.
    By default, Allow concurrent mediation is set to false, and concurrent mediations are not allowed.
    Note: Do not allow concurrent mediation if message ordering is important.
    Selector
    Optionally, type a message selector to control which messages are mediated by the mediation. The selector operates on the content of the message header. The syntax of the message selector is defined by the JMS specification.

    If the message meets the conditions of the selector, the message is mediated. Otherwise, the message is not mediated.

    Discriminator
    Optionally, type a message discriminator to control which messages are mediated by the mediation. Message discriminators conform to the publish/subscribe topicspace syntax.

    If the message meets the conditions of the discriminator, the message is mediated. Otherwise, the message is not mediated.

  4. Click OK.
  5. Save your changes to the master configuration.

Results

A named mediation is defined for the deployed handler list.

What to do next

Next, you can add the mediation to a destination, see Mediating a destination.



In this information ...


Related tasks

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 5:25:00 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-base-dist&topic=tjp0005_
File name: tjp0005_.html