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 2019/01/23 05:20:02 UTC

[GitHub] ChunMengLu opened a new issue #40: Jackson ObjectMapper Shadow serialization problem

ChunMengLu opened a new issue #40: Jackson ObjectMapper Shadow serialization problem
URL: https://github.com/apache/rocketmq-spring/issues/40
 
 
   The issue tracker is **ONLY** used for bug report and feature request. 
   
   Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/).
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   Because Jackson's ObjectMapper configuration may be different in different services, such as Date, LocalDateTime will cause serialization to fail, as a dead letter.
   
   由于在不同服务中,Jackson 的 ObjectMapper 配置可能不一样,比如 Date,LocalDateTime 会导致序列化失败,照成死信。 
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   
   2. Provide any additional detail on your proposed use case for this feature.
   For Jackson message serialization and deserialization, it is recommended to extend the ObjectMapper to add a RocketmqObjectMapper.
   This avoids using the ObjectMapper in the service.
   
   对于 Jackson 消息序列化和反序列化,建议 继承 ObjectMapper 添加  RocketmqObjectMapper,
   从而避免使用服务里的 ObjectMapper。
   
   3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services