Use this task to configure a mediation in the administrative console.
Before you begin
This task assumes that you have installed a mediation application
on the
server
or cluster where you want to run the mediation. For more information,
see
Installing a mediation.
About this task
Configuring a new mediation makes it available for use in mediating
one or more destinations.
In this task, you use the administrative console
to configure a mediation:
Procedure
- Click .
- In the content pane, click New.
- Specify the following properties for the mediation:
- 調解名稱
- 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.
- 說明
- Optionally, type a description for the mediation.
- 處理程式清單名稱
- Type the handler list name. This is the name that was used when the mediation
handler was deployed. Handler list names are unique within the WebSphere® Application Server administrative
cell.
- 廣域交易
- 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, 廣域交易 is
set to false, and a global transaction is not started when a message is mediated.
- 允許並行調解
- Optionally, select this option (setting it to true) if you want to mediate
multiple messages at the mediated destination.
By default,
允許並行調解 is set to false, and concurrent mediations are not allowed.
Note: Do
not allow concurrent mediation if message ordering is important.
- 選取元
- 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 content meets the conditions of the selector, the message is mediated.
Otherwise, the message is not mediated.
- 鑑別器
- 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.
- 儲存對主要配置所做的變更。
Results
You have configured a new mediation.
What to do next
You can use the mediation to mediate a destination. For more information,
see
Mediating a destination.