- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 解决java.lang.IllegalArgumentException: SimpleMessageConverter only supports String, byte[] and Serial
在rabbitmq与业务对接的时候,将对象作为消息传入时报错rabbitTemplate.convertAndSend(exchangeName,routingKey,msgQueueObj,new CorrelationData(msgCode));后来发现MsgQueueObj这个对象只要进行序列化就可以,连接上rabbitmq: MsgQueueObjimplements S...
2020-03-10 17:20:06 2738
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人