相关疑难解决方法(0)

ActiveMQ 嵌入式 Web 控制台和 Spring Boot

根据此文档,我必须能够通过以下 URL 访问 ActiveMQ 控制台:http://localhost:8161/console

我通过 Spring Boot 应用程序在嵌入式模式下使用 ActiveMQ。ActiveMQ 工作正常,但我无法访问http://localhost:8161/console

如何配置嵌入的 Spring Boot 和 ActiveMQ 以便能够访问 Web 控制台?

activemq-classic spring-boot

6
推荐指数
0
解决办法
782
查看次数

如何在ActiveMq嵌入式代理上启用Web控制台

我使用Spring 3.2.5 配置了一个ActiveMQ 5.8.0 嵌入式代理

这是我的jmsconfiguration.xml

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:amq="http://activemq.apache.org/schema/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
  http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">

    <amq:broker brokerName="localhost" dataDirectory="./data" useJmx="true" persistent="true">
        <amq:persistenceAdapter>
            <amq:kahaDB directory="./kahadb" checksumJournalFiles="true" checkForCorruptJournalFiles="true" />
        </amq:persistenceAdapter>
        <amq:transportConnectors>
            <amq:transportConnector name="websocket" uri="ws://0.0.0.0:61614"/>
            <amq:transportConnector name="stomp" uri="stomp://0.0.0.0:61613"/>
            <amq:transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
        </amq:transportConnectors>
    </amq:broker>

    <amq:connectionFactory id="jmsFactory" brokerURL="vm://localhost" />
</beans>
Run Code Online (Sandbox Code Playgroud)

能够访问Web控制台是非常好的和有用的...但是我一直试图启用它而没有成功.

有谁知道如何配置它?

spring activemq-classic

4
推荐指数
1
解决办法
8133
查看次数

标签 统计

activemq-classic ×2

spring ×1

spring-boot ×1