依赖 spring-boot-starter-amqp ,代码里有 @Resource 等注入了 RabbitAdmin 等,如何让启动时不要自动连接 mq 服务呢。等需要的时候再启动。这样也可以不用改动太多代码。