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/02/28 04:12:56 UTC

[GitHub] k631583871 commented on issue #45: 但未设置mq 服务器时候,应该报错,而不是让其正常运行起来。

k631583871 commented on issue #45:  但未设置mq 服务器时候,应该报错,而不是让其正常运行起来。
URL: https://github.com/apache/rocketmq-spring/pull/45#issuecomment-468130542
 
 
   既然用户引入了  Spring RMQ客户端 starter, 就应该正确配置配置文件。 要是不使用就应该不引入 starter。
   
   使用 FailureAnalyzer  机制 就可以 当用户配置错误的时候提示哪个配置文件有问题。报错格式是:
   
   
   ERROR 13636 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 
   
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   XXX
   
   
   Action:
   
   XXX
   
   

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