如何在Spring Boot中使用hornetq-configuration.xml?

Pau*_*son 7 hornetq spring-boot

我们有一个Spring Boot应用程序需要将消息发送到远程HornetQ消息代理上可用的队列.我看到Spring Boot在嵌入模式下支持HornetQ.但是,我只能在我的Boot应用程序的application.properties上设置一组spring.hornetq.*属性.应用程序必须使用核心网桥(存储和转发),该网桥在hornetq-configuration.xml文件中配置.

问:我需要做些什么才能使Spring Boot提供的HornetQ嵌入式实例使用我创建的hornetq-configuration.xml文件?