getFlighTimes function for JMS