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 2018/12/14 08:39:14 UTC

[GitHub] walking98 commented on a change in pull request #4: 修复当ObjectMapper 的 Bean 已存在时候,不叫rocketMQMessageObjectMapper,无法启动

walking98 commented on a change in pull request #4: 修复当ObjectMapper 的 Bean  已存在时候,不叫rocketMQMessageObjectMapper,无法启动
URL: https://github.com/apache/rocketmq-spring/pull/4#discussion_r241677353
 
 

 ##########
 File path: rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/config/RocketMQAutoConfiguration.java
 ##########
 @@ -66,7 +66,7 @@ public DefaultMQProducer defaultMQProducer(RocketMQProperties rocketMQProperties
 
     @Bean
     @ConditionalOnClass(name = "com.fasterxml.jackson.databind.ObjectMapper")
-    @ConditionalOnMissingBean(ObjectMapper.class)
+    @ConditionalOnMissingBean(name = "rocketMQMessageObjectMapper")
 
 Review comment:
   @k631583871  would you like to try the latest code which merged @snicoll 's changes. 
   
   

----------------------------------------------------------------
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