Show TOC

Example documentationExample of a Receiver Determination Locate this document in the navigation structure

 

In the process integration scenario CheckFlightSeatAvailability (see Demo Examples under Checking Flight Availability), a travel agency queries the seat availability for a flight with an airline.

In the standard configuration recommended for the demo examples the travel agency communicates with the systems of two different airlines (Lufthansa and American Airlines).

Note Note

To be able to address the airline business systems as the sender/receiver of messages, you must first define these as communication components in the Integration Directory (see Business System Component).

End of the note.

The receiver determination for the travel agency sender component and the outbound interface FlightSeatAvailabilityQuery_Out has two configured receivers: both the business system components for the systems of the two airlines.

To ensure that the request for a flight availability check is forwarded to the correct airline, the routing condition is formulated as airline-dependent. The airline ID is contained in the payload of the message. The routing condition is as follows: Send the message requesting the flight availability check to the airline Lufthansa if the field AirlineID in the message payload has the value LH (Lufthansa). If this field has the value AA (American Airlines), then forward the message to the airline American Airlines.

To access the field AirlineID of the message in the routing condition, the recommended standard configuration uses the context object AirlineID.