To run the Airline Reservations message flows that you create in this sample, you must also create the required WebSphere MQ local queues.
The following script creates the queues that you require for all of the Airline Reservations message flows:
******************************************** * Define the queues for XML_Reservation * ******************************************** DEFINE QL('XML_RESERVATION_IN') REPLACE DEFINE QL('XML_RESERVATION_OUT') REPLACE DEFINE QL('XML_RESERVATION_FAIL') REPLACE ***************************************************** * Define the queues for XML_PassengerQuery * ***************************************************** DEFINE QLOCAL ('XML_PASSENGERQUERY_IN') REPLACE DEFINE QLOCAL ('XML_PASSENGERQUERY_OUT') REPLACE DEFINE QLOCAL ('XML_PASSENGERQUERY_FAIL') REPLACE ******************************************** * Define the queues for XML_FlightQuery * ******************************************** DEFINE QLOCAL ('XML_FLIGHTQUERY_FLIGHT') REPLACE DEFINE QLOCAL ('XML_FLIGHTQUERY_IN') REPLACE DEFINE QLOCAL ('XML_FLIGHTQUERY_OUT') REPLACE DEFINE QLOCAL ('XML_FLIGHTQUERY_PASSENGERS') REPLACE DEFINE QLOCAL ('XML_FLIGHTQUERY_REPLIES') REPLACE DEFINE QLOCAL ('XML_FLIGHTQUERY_TIMEOUT') REPLACE DEFINE QLOCAL ('XML_FLIGHTQUERY_FAIL') REPLACE *********************************************** * Define the queues for XML_CancelReservation* *********************************************** DEFINE QL(XML_CANCELRESERVATION_IN) REPLACE DEFINE QL(XML_CANCELRESERVATION_OUT) REPLACE DEFINE QL(XML_CANCELRESERVATION_FAIL1) REPLACE DEFINE QL(XML_CANCELRESERVATION_FAIL2) REPLACE
To create the queues:
runmqsc MB8QMGR < airlineqdefs.tst