Back End Emulation Route
This route receives individual 270 transactions and for each transaction, generates a 271 response using the route component Velocity. The route component Response Counter runs a script that tracks the number of individual 270 transactions extracted from the 270 batch within the scope of one XEServer task. The route component Response Limiter initiates the batching of individual responses once the number of generated responses matches the value of the XEServer property 271_Resp_Quantity.
Route Structure
Route Components Description
| Individual
|
JMS Inbound |
Receives individual 270 transactions from the queue To_BackEnd. |
| Response counter
|
Groovy |
The Groovy script calculates the number of split 270 responses that
come to the back-end system (within the scope of one XEServer task) and sets this number as the property Counter_270. |
| Response Limiter
|
Router |
The component passes N transactions through the output Batch less than N where N is the value of the XEServer property 271_Resp_Quantity. The last transaction also goes through the output Run Create Batch Response to initiate the batching process. |
| Native Processing
|
Native Processing |
Validates individual 270 transactions. For each transaction, the component extracts a set of fields and sets them as XEServer properties (Receiver ID, TRN, Sender ID, and many others. See the component's output split.good properties on the Outputs tab). These properties are used further down the route to create 271 responses. |
| 271 Subscriber
|
Velocity |
Sends the generated 271 transaction to the From_BackEnd queue for further validation. |
| Validate Indiv 271 Response
|
JMS Outbound |
Sends the created 271 response to the queue From_BackEnd for further validation. |
| Delay
|
Delay |
Pauses the execution for 8 seconds before starting the batching process. The delay is required to complete the validation of 271 responses before the batching starts. |
| Create Batch Individual
|
JMS Outbound |
Sends the data to the queue Create_Batch_Response to initiate the batching process. |