Mediator can be added to the SCA Composite as a Component. This can be accomplished by carrying out the following steps:
1. Open the
Composite.xml
file.2. Drag a Mediator Component Palette into the Components column.
3. In the Create Mediator window, enter the component name and select the template.
Define interface Later
Asynchronous Interface
Synchronous Interface
One-Way Interface
Interface Definition from WSDL
Subscribe to Events
The following table shows the description of the templates for each of the Mediator types:
S.No |
Template Name |
Template Description |
---|---|---|
1 |
Define Interface Later |
This template allows the user to define the interface for the Mediator later. |
2 |
Synchronous Interface |
This template is used to define the synchronous interface definition for the Mediator. In a synchronous interaction, a client sends a request to a service and receives an immediate response. |
3 |
Asynchronous... |