// OrdStatus (39) Status as a result of this report
if ( order.getStatus().equals("<UNKNOWN>") )
order.setStatus(OrdStatus.NEW);
OrdStatus ordStatus = new OrdStatus(order.getFIXStatus());
CxlRejResponseTo responseTo = new CxlRejResponseTo();
if ( cancel ) {
responseTo.setValue(CxlRejResponseTo.ORDER_CANCEL_REQUEST);
} else {
responseTo.setValue(CxlRejResponseTo.ORDER_CANCEL_REPLACE_REQUEST);
}
// Construct OrderCancelReject message from required fields
quickfix.fix42.OrderCancelReject rejectMessage =
new quickfix.fix42.OrderCancelReject(