Implement the mediation
Implement the mediation flow using the instructions in
this topic.
Select the StockQuoteService getQuote operation, and select to create a
Service Integration. Select to add references to the
DelayedServicePortTypePartner getQuote and
RealtimeServicePortTypePartner getQuote operations. These will be end points
of the mediation flow. Do the following:
- Add a mediation primitive between the end points to log the message.
- Retrieve the customer's subscription level from the CustomerType csv file.
- Conditionally route the message based on the value retrieved.
- Transform the message to match the format of the receiving operation.
Lessons in this module
- Define the end points of the mediation
- Follow these steps to define the end points of the mediation flow.
- Build the request flow
- Build the request flow for the getQuote operation: create the mediation primitives, set their properties, and wire the flow.
- Build the response flow
- Build the response flow for the getQuote operation: create the mediation primitives, set their properties, and wire the flow.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15