Creating a Domain Value Map Use Case for a Hierarchical Lookup
This section provides a tutorial for using domain value maps in a SOA composite. This use case demonstrates the hierarchical lookup feature of domain value maps. The hierarchical lookup use case consists of the following steps:
- Files are retrieved from a directory by an adapter service named ReadOrders.
- The ReadOrders adapter service sends the file data to a Mediator named ProcessOrders.
- The ProcessOrders Mediator then transforms the message to the structure required by the adapter reference. During transformation, Mediator looks up the UnitsOfMeasure domain value map for an equivalent value of the Common domain.
- The ProcessOrders Mediator sends the message to an external reference named WriteOrders.
- The WriteOrders reference writes the message to a specified output directory.
To download the sample files mentioned in this section, see the Oracle SOA Suite samples page.