SpringBoot + ActiveMQ - How to set trusted packages?

后端 未结 6 932
既然无缘
既然无缘 2021-02-19 04:47

I\'m creating two springboot server & client applications communicating using JMS, and everything is working fine with the release 5.12.1 for activemq, but as s

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-19 05:45

    Yes I found it's config in the new version

    
        org.springframework.boot
        spring-boot-starter-parent
        1.4.0.RELEASE
    
    
    spring:
    profiles:
        active: @profileActive@
    cache:
      ehcache:
        config: ehcache.xml
    activemq:
      packages:
        trusted: com.stylrplus.api.model
    

提交回复
热议问题