美文网首页
springboot2.1.5 整合activeMq 开启连接

springboot2.1.5 整合activeMq 开启连接

作者: 非飞菲301 | 来源:发表于2019-06-05 11:49 被阅读0次

    yml中配置

    注入JmsMessagingTemplate

    @Autowired

    private JmsMessagingTemplate  jmsMessagingTemplate;

    项目启动报错:

    pom.xml中引入

    解决:

    springboot 1.5 时不引入可启动,2.1.5需引入

    相关文章

      网友评论

          本文标题:springboot2.1.5 整合activeMq 开启连接

          本文链接:https://www.haomeiwen.com/subject/mfmjxctx.html