REST Client with Advanced Logic Route

This subroute picks up a request from the parent route Main and submits the data to a back-end system emulated by the Remote Claim REST Web Service route for processing. Based on the received response code, the route either sends data back to the parent route or throws an exception triggering the parent route to resend the initial request.

Route Structure

REST Client with Advanced Logic Route

Route Components Description

Component Name Component Type Description
Parent Route Input Parent Route Inbound Picks up data from the parent route Main.
REST Client REST Client Submits the incoming data for processing in the back-end system emulated by the route Remote Claim REST Web Service.
Status Code Router Picks up processing results received from the route Remote Claim REST Web Service and checks the response code.
XML Value Extractor XML Value Extractor Extracts the portion of the response that indicates if any information has been received as a response.
Throw Exception Groovy Throws an exception to signal the parent route to initiate processing based on the provided QoS parameters.
Parent Route Output Parent Route Output Send processing results back to the parent route.