You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/01/28 15:06:03 UTC

[GitHub] [rocketmq] Jenyow opened a new issue #3808: 实体消息包含LocalDateTime字段无法被正常消费

Jenyow opened a new issue #3808:
URL: https://github.com/apache/rocketmq/issues/3808


   1. Please describe the issue you observed:
   不加额外添加配置,使用 RocketMQTemplate 发送 实体字段中包含 LocalDateTime 的消息,用 @RocketMQMessageListener 声明的消费者无法正常转换 LocalDateTime 字段。
   
   2. Please tell us about your environment:
   * spring-boot:2.3.12.RELEASE
   * rocketmq-spring-boot-starter:2.2.1
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   1. 发现其它 ISSUE 中也有同样的问题,说明这不是个例问题,但是最后都没有看到解决的方案就关闭了。
   2. rocketmq-spring-boot-starter 的 sample 中没有提供涉及 LocalDateTime 的实体消息收发。
   3. 经过了很多断点调试尝试,还是解决不了,所以才来这里提问。望大神指点一下。
   
   (有种折中的办法就是将实体先转成 json 字符串,然后消费者再将 json 字符串转换为实体。不知道那些关闭的关于 LocalDateTime 的 ISSUE 是不是最后都这样就算了。抱着学习的态度,还是希望从根本上知道解决方案,谢谢)
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   希望在  rocketmq-spring-boot-starter 的 sample 中提供包含 LocalDateTime 的实体消息收发的例子
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] Jenyow closed issue #3808: 实体消息包含LocalDateTime字段无法被正常消费

Posted by GitBox <gi...@apache.org>.
Jenyow closed issue #3808:
URL: https://github.com/apache/rocketmq/issues/3808


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org