@ Override public Integer convertJSFeedbackToMQ ( Integer fb ) { Integer result = null ; if ( SIApiConstants . REPORT_COA . equals ( fb ) ) { result = Integer . valueOf ( ApiJmsConstants . MQFB_COA ) ; } else if ( SIApiConstants . REPORT_COD . equals ( fb ) ) { result = Integer . valueOf ( ApiJmsConstants . MQFB_COD ) ; } else if ( SIApiConstants . REPORT_EXPIRY . equals ( fb ) ) { result = Integer . valueOf ( ApiJmsConstants . MQFB_EXPIRATION ) ; } else if ( SIApiConstants . REPORT_PAN . equals ( fb ) ) { result = Integer . valueOf ( ApiJmsConstants . MQFB_PAN ) ; } else if ( SIApiConstants . REPORT_NAN . equals ( fb ) ) { result = Integer . valueOf ( ApiJmsConstants . MQFB_NAN ) ; } else { // All other values passed unchanged result = fb ; } return result ; }
Convert from Jetstream feedback values to MQ values .