LOG.error("Processing performs only for SkyChain. Message will be dropped.");
addExptInfo(EWVAL.name(), meta.getSource());
return false;
}
FlightInfo inputFlightID = uwsInfo.getFlightInfo();
String flightNumber = formatFlightNo(inputFlightID.getFlightNumber());
LOG.debug("Airport Code - {}, Departure Date of Month - {}, Final Msg Indicator - {}, Original Flight No - {}, Flight No formatted - {}", inputFlightID.getAirportCode(), inputFlightID.getDateOfMonth(), inputFlightID.getFinalMessageIndicator(), inputFlightID.getFlightNumber(), flightNumber);
String flightDate = createFlightDateFrom(inputFlightID.getDateOfMonth());
if(isNullOrEmptyStr(flightDate)) {
LOG.error("Departure date cannot be constructed. Message will be dropped.");
addExptInfo(EWVAL.name(), inputFlightID.getDateOfMonth());
return false;
}
LOG.debug("Flight Number, Departure Date - {}, {}", flightNumber, flightDate);
EntDbAfttab entDbAfttab = afttabBean.findFlightForUws(flightNumber, flightDate);