Use this task to define a mediation in the administrative console.
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
- Display the Mediations page:
- In the navigation pane, click
- In the content pane, click
the name of the service integration bus
- Under Destination resources, click Mediations.
- In the content pane, click New.
- 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.
- Click OK.
- Save your changes to the master configuration.
Results
A named mediation is defined for the deployed handler list.