Use this task to browse or configure the properties for a mediation
handler.
This task assumes that you have created a mediation handler, added
it to at least one mediation handler list and saved it as an EAR file. For
more information, see
Creating a mediation handler.
In this task, you can browse, and optionally make changes to the
configuration properties for your mediation handler.
Complete the following steps:
- Display your EJB project:
- Switch to the J2EE perspective to work
with J2EE projects. Click Window > Open
Perspective > Other >J2EE .
- In the Project Explorer view, expand EJB Modules to
display the folder containing your EJB project.
- Expand the folder, select your EJB project and double-click
on the Deployment Descriptor.
The EJB project is displayed in the EJB Deployment Descriptor
editor.
- Optional: To change the handler list information:
- Select the Mediation Handlers tab at
the bottom of the editor area to open the Mediation Handlers pane.
- Select the name of the mediation handler that you want to modify.
The handler list information is displayed in the right hand side of the pane.
- Select the handler list information you want to modify and click modify.
Make the changes you require, and then click Finish to
close the pane and return to the Mediation Handlers pane.
- Optional: The value of a mediation parameter can be
changed after the mediation handler has been added to a mediation handler
list. To change the mediation parameters:
- On the Mediation Handlers tab, select
the mediation handler you want to modify. The mediation parameters pane displays
all the mediation parameters for this handler. Click Edit.
- Select the name of the mediation parameter that you want to
change.
- Make the changes you require to the mediation parameter, and
then click Finish to close the pane and return to the Mediation
Handlers pane.
- Alternatively, use the Remove button
to delete the definition of a mediation parameter.
Any mediation parameters that are not defined using the Deployment
Descriptor are left at their default value.
- Optional: If the type of the parameter is not a simple
type like String, Boolean or a number, the parameter can be set to be a reference.
To change the reference parameters:
- Click Reference Parameters.
- Select the name of the reference parameter that you want to
change.
- Make the changes you require to the reference parameter. It
can be set to a resource reference, service reference, resource-env-reference
or an EJB reference. Click Finish to close the pane
and return to the Mediation Handlers pane.
- Select File > Save to
save the changes to the mediation handler as an EAR file.
Now, you can export the EAR file to WebSphere Application Server.