|
@@ -38,7 +38,7 @@ public class RabbitMqProducer {
|
|
|
* 工作队列模式发送
|
|
|
*/
|
|
|
public void sendByWorkQueue(String queue, Object content){
|
|
|
- log.info("开始发送Mq消息,消息内容:{}", new JSONObject(content).toString());
|
|
|
+ log.info("开始发送Mq消息,消息队列:{},消息内容:{}",queue, new JSONObject(content).toString());
|
|
|
CorrelationData correlationId = new CorrelationData(UUID.randomUUID().toString());
|
|
|
rabbitTemplate.convertAndSend(queue, content, correlationId);
|
|
|
}
|