Example of a Receiver
Determination
In the 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).

To be able to address the airline business systems as the sender/receiver of messages, you must first define these as services in the Integration Directory (see Business System Service).
The receiver determination for the sender service of the travel agency and the outbound interface FlightSeatAvailabilityQuery_Out has two configured receivers: both business system services for the systems of both 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 rules are 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.