Configuring a mediation handler

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:

  1. Display your EJB project:
    1. Switch to the J2EE perspective to work with J2EE projects. Click Window > Open Perspective > Other >J2EE .
    2. In the Project Explorer view, expand EJB Modules to display the folder containing your EJB project.
    3. 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.
  2. Optional: To change the handler list information:
    1. Select the Mediation Handlers tab at the bottom of the editor area to open the Mediation Handlers pane.
    2. 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.
    3. 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.
  3. 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:
    1. 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.
    2. Select the name of the mediation parameter that you want to change.
    3. Make the changes you require to the mediation parameter, and then click Finish to close the pane and return to the Mediation Handlers pane.
    4. 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.
  4. 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:
    1. Click Reference Parameters.
    2. Select the name of the reference parameter that you want to change.
    3. 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.
  5. 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.
Related concepts
Mediation handlers
Mediation handler lists