IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Building mediation flows > Implementing custom mediation logic

Create Java code in a custom mediation primitive

Create your own mediation logic by embedding a Visual or Java™ snippet in a custom mediation primitive.

To create your own Java code:


Procedure

  1. In the Mediation Flow editor, add the custom mediation primitive to the canvas, and wire the input and output terminals.

  2. Select the custom mediation primitive on the canvas to view its properties. In the properties view, click the Details tab.

  3. Choose Visual to create a visual snippet, or Java to create a Java snippet.


Results


Important:

Implementing custom mediation logic