Helius
2020-10-12 fbaace01557b207dc30b3e9c582c63535d2c2979
src/main/java/com/xcong/excoin/rabbit/producer/OrderProducer.java
@@ -137,5 +137,16 @@
        }
    }
    /**
     * 发送委托平仓
     *
     * @param content
     */
    public void sendLimitClose(String content) {
        CorrelationData correlationData = new CorrelationData(UUID.randomUUID().toString());
        log.info("发送委托平仓消息:{} == pid:{}", content, correlationData.getId());
        rabbitTemplate.convertAndSend(RabbitMqConfig.EXCHANGE_A, RabbitMqConfig.ROUTINGKEY_LIMIT_CLOSE, content, correlationData);
    }
}