Process Errors Route

This subroute removes the message body and sends only the error data to the JMS queue of the profile FHIR Aux.

Route Components Description

Component Name Component Type Description
Inbound Parent Route Input Picks up the input data from the parent routes.
Remove Body Groovy Runs a groovy script that removes the message body and only keeps information on the errors.
Check SaveRejectedSplits Router Checks to see if the rejected split files must be saved to a file system folder.
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 located at ${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.