错误记录之RabbitMq:java.lang.IllegalArgumentException: SimpleMessageConverter only supprts String, byte[]
错误:RabbitMq
java.lang.IllegalArgumentException: SimpleMessageConverter only supports String, byte[] and Serializable payloads, received: com.yocoto.yocotoadmin.entity.Dto.MqDto。
场景描述:
之前使用一个Map来接受RabbitMq发送的数据。:
//声明监听的队列 (监听的是死信队列的备用队列)
@RabbitLis
原创
2021-03-13 16:16:22 ·
2494 阅读 ·
0 评论