02_06_10) Code Lookup Route
This route receives sample XML files with preconfigured ECL records (code_id, code_name, ecl_name), extracts the records, and performs a lookup to the ECL database. Based on the presence of the code in the database, the original files go to the corresponding file system directory.
Route Structure
Route Components Description
| Inbound
|
FS Inbound |
Picks up sample XML files (each file carries ECL name, code ID, and code name) from the file system. |
| Get Code
|
XML Value Extractor |
Extracts ECL name, code ID, and code name values and sets them as XEServer properties. |
| Code Lookup
|
ECL Lookup |
Performs a lookup for the code in the ECL database. |
| Exists?
|
Router |
Forks the route flow depending on whether the corresponding code was found in the database. |
| Outbound
|
FS Outbound |
Stores original data in ${XESWorkspace}/test-data/outbound/02_06_10_Code-Lookup/Code-Exists if the code is available. |
| Code Not Exists
|
FS Outbound |
Stores original data in ${XESWorkspace}/test-data/outbound/02_06_10_Code-Lookup/Code-Not-Exists if the code was not found. |