Working with Mediation primitives
Let's implement a simple credit management use case that takes in a credit rating request for a customer and then routes the incoming request message to that customer's residence state credit agency. In this particular example, use Texas Credit Agency, New York Credit Agency, and California Credit Agency as the three supported state agencies.
We will use this example to understand the different mediation flow primitives, get primitives in order to get a more realistic understanding and appreciation for these components.
Please follow the steps to build the application as defined in the use case:
Create a library called Ch6Library with the following data types as shown in the following screenshot (refer to Chapter 2 for details on creating a library):
Add an interface called CreditManagement under folder com/junglesea/ch6/mediations/interfaces with a two-way operation requestCreditApproval as shown in the following screenshot:
Save all your changes.
Create three...