Process Errors Route
This route forms and sends error responses to the JMS queue of the profile FHIR Aux.
Route Components Description
Inbound
|
Parent Route Input |
Receives data from the parent route. |
Remove Body
|
Groovy |
Drops the XEServer message body and only keeps information on the errors. |
Check SaveRejectedSplits
|
Router |
Verifies whether rejected split files must be saved on the file system. |
Get SplitData
|
Groovy |
Extracts the rejected split files from the incoming message. |
Save Rejected Split
|
FS Inbound |
Saves the rejected split files to a file system folder ${ErrorContextPath}/rejected (the property ErrorContextPath is defined in the environment of the profile). |
Aggregation
|
Aggregation |
Aggregates all the error messages into a single multi-message exchange once the last message is received. |
Create Error Response
|
Groovy |
Forms the error response. |
Process Errors
|
JMS Outbound |
Sends the data to the JMS queue of the profile FHIR Aux. |