Define the source operation that will be invoked at the beginning
of your mediation flow by adding a source interface in the operations connection
section of the Mediation Flow editor. Typically, you would then add a target
reference and select an operation from the reference to be invoked at the
end of the request flow. You can, however, also choose to select only a source
operation and return the message to the source after processing is complete.
You can add a source interface for your mediation flow in one of
the following ways:
- If you have a wired mediation module assembly diagram, source interfaces
and target references are created when you generate implementation for the
Mediation flow component. When you open the Mediation Flow editor after generating
implementation you will see the interfaces and references in the operation
connections section. A source interface is created in the Mediation Flow editor
for each interface on the Mediation Flow component. A target reference is
created in the Mediation Flow editor for each reference on the Mediation Flow
component.
- In the Mediation flow editor, drag an existing interface onto the operations
connection canvas from a module or library in the Business Integration view
and select Source interface.
- In the Mediation flow editor, Right-click on the operation connections
canvas, and select Add Interface. You can either select
an existing interface in the Add Interface wizard or
create a new one, and then define its operations in the interface editor.
- In the operation connection toolbar, click on the Add Interface icon
.
After you have added the source interface, do one of the following:
- Define a target operation that your flow will invoke by adding a reference.
- If you want your message to return to the source after processing, click
on a source operation to begin defining your mediation flow.