public String generateOrderCancelReject(Order order) {
quickfix.fix44.OrderCancelReject fixMessage =
new quickfix.fix44.OrderCancelReject(
new OrderID(order.getId().toString()),
new ClOrdID(order.getClientOrderId()),
new OrigClOrdID(order.getClientOrderId()),
OrderStatusConverter.toFix(order.getStatus()),
new CxlRejResponseTo(CxlRejResponseTo.ORDER_CANCEL_REQUEST));
logger.debug("Sending message:\n{}", FixFormatter.format(fixMessage));
return fixMessage.toString();