Creating a mediation flow
To create a mediation flow, create an operation for each
iteration in the conversation. Include the convID and convEnded information
in the input and output for each operation, and add custom mediation
code to retrieve the convID and convEnded information from the context.
About this task
Procedure
- Use the convID property to identify the conversation from iteration to iteration.
- Use the convEnded property to identify if the conversation has ended by the IMS application before the last iteration.
- To include convID or convEnded information with the input or output, create new data types (business objects) from the data types that were generated for this MFS service, with added fields to hold the convID or convEnded information.
- Create an operation for each iteration in your conversation. These operations must implement the interface you created for the mediation flow, with the input and output mapped to the appropriate data types that you created to hold the convID or convEnded information.
- Select the Operation Map as the mediation flow template.
- Use Transient Context to store information in a request and response flow of an iteration, such as the business graph information.
- Use Correlation Context to store information across a request and response flow of an interation, such as the convID.
- Add custom mediation code to retrieve the convID or convEnded information from the context, based on the JCA interactions specification.
- Add custom mediation code to end the conversation in the last iteration by setting the interaction verb to 3 (SYNC_END_CONVERSATION).
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15