弹簧启动ActiveMQ跺脚经纪人弹簧式继电器底座连接失败问题,怎么解决

计费方式:
搜索引擎:
建筑及装修
化工及材料
广告及包装
旅游及票务
交易总额:?-
本月佣金:?-元
今日佣金:?-元
优化师数:-名
商户数:-名
网站数:-个
关键词数:-个
您的位置:
& 弹簧启动ActiveMQ跺脚经纪人继电器连接失败问题,怎么解决
弹簧启动ActiveMQ跺脚经纪人继电器连接失败问题,怎么解决
提问者:无风絮自飞&&|&&
分类:其他&&|&&
浏览0次&&|&&
悬赏分:4积分
服务热线:400-
代理合作:2
投诉电话:7
地址:浙江省杭州市西湖区文三路90号东部软件园科技广场315-318室
官方手机版
官方公众号
copyright 2016(c)yuntask.com版权所有 杭州志卓科技股份有限公司 浙ICP备号-86弹簧启动ActiveMQ跺脚经纪人继电器连接失败
扫码加入我们
弹簧启动ActiveMQ跺脚经纪人继电器连接失败
I am following the this guide
and but instead of using the simple message broker, I am trying to use the stomp broker relay
public void configureMessageBroker(MessageBrokerRegistry registry) {
registry.enableStompBrokerRelay("/topic").setRelayHost("stomp://localhost").setRelayPort(61612);
registry.setApplicationDestinationPrefixes("/app");
and I am trying but my console keeps showing failed to connect
01:38:05.786
INFO 3584 --- [
main] o.s.m.s.s.StompBrokerRelayMessageHandler : Connecting "system" session to stomp://localhost:61612
01:38:05.942
INFO 3584 --- [eactor-tcp-io-1] r.io.net.impl.netty.tcp.NettyTcpClient
: Failed to connect to stomp://localhost:61612. Attempting reconnect in 5000ms.
01:38:05.957
INFO 3584 --- [
main] o.s.m.s.s.StompBrokerRelayMessageHandler : Started.
01:38:06.025
INFO 3584 --- [
main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8052 (http)
01:38:06.025
INFO 3584 --- [
main] main.java.test.TestApplication
: Started TestApplication in 9.419 seconds (JVM running for 15.121)
01:38:11.022
INFO 3584 --- [eactor-tcp-io-2] r.io.net.impl.netty.tcp.NettyTcpClient
: Failed to connect to stomp://localhost:61612. Attempting reconnect in 5000ms.
01:38:16.008
INFO 3584 --- [eactor-tcp-io-3] r.io.net.impl.netty.tcp.NettyTcpClient
: Failed to connect to stomp://localhost:61612. Attempting reconnect in 5000ms.
My activemq.xml is the default except for this:
&transportConnectors&
&transportConnector name="stomp" uri="stomp://localhost:61612"/&
&/transportConnectors&
ActiveMQ starts up with no problems as I am able to connect to the admin page at .
Here is my maven pom.xml in case someone spots out that I might be using the wrong dependencies
&?xml version="1.0" encoding="UTF-8"?&
http://maven.apache.org/xsd/maven-4.0.0.xsd">
&groupId&com.test.program&/groupId&
&artifactId&testapp&/artifactId&
&version&0.1.0&/version&
&groupId&org.springframework.boot&/groupId&
&artifactId&spring-boot-starter-parent&/artifactId&
&version&1.3.2.RELEASE&/version&
&dependencies&
&dependency&
&groupId&org.springframework.boot&/groupId&
&artifactId&spring-boot-starter-thymeleaf&/artifactId&
&/dependency&
&dependency&
&groupId&org.springframework.boot&/groupId&
&artifactId&spring-boot-starter-websocket&/artifactId&
&/dependency&
&dependency&
&groupId&org.springframework&/groupId&
&artifactId&spring-messaging&/artifactId&
&/dependency&
&dependency&
&groupId&org.json&/groupId&
&artifactId&json&/artifactId&
&version&&/version&
&/dependency&
&dependency&
&groupId&org.apache.cxf&/groupId&
&artifactId&cxf-core&/artifactId&
&version&3.1.5&/version&
&/dependency&
&dependency&
&groupId&org.apache.cxf&/groupId&
&artifactId&cxf-rt-frontend-jaxws&/artifactId&
&version&3.1.5&/version&
&/dependency&
&dependency&
&groupId&org.apache.cxf&/groupId&
&artifactId&cxf-rt-transports-http&/artifactId&
&version&3.1.5&/version&
&/dependency&
&dependency&
&groupId&io.projectreactor&/groupId&
&artifactId&reactor-core&/artifactId&
&version&2.0.7.RELEASE&/version&
&/dependency&
&dependency&
&groupId&io.projectreactor&/groupId&
&artifactId&reactor-net&/artifactId&
&version&2.0.7.RELEASE&/version&
&/dependency&
&dependency&
&groupId&io.netty&/groupId&
&artifactId&netty-transport&/artifactId&
&version&4.0.34.Final&/version&
&/dependency&
&dependency&
&groupId&io.netty&/groupId&
&artifactId&netty-transport-native-epoll&/artifactId&
&version&4.0.34.Final&/version&
&/dependency&
&/dependencies&
&properties&
&java.version&1.8&/java.version&
&/properties&
&groupId&org.springframework.boot&/groupId&
&artifactId&spring-boot-maven-plugin&/artifactId&
&/plugins&
&repositories&
&repository&
&id&spring-milestone&/id&
&url&https://repo.spring.io/libs-release&/url&
&snapshots&
&enabled&false&/enabled&
&/snapshots&
&/repository&
&/repositories&
&pluginRepositories&
&pluginRepository&
&id&spring-milestone&/id&
&url&https://repo.spring.io/libs-release&/url&
&snapshots&
&enabled&false&/enabled&
&/snapshots&
&/pluginRepository&
&/pluginRepositories&
Did you check if the stomp transport connector is up and running , activemq admin page might be accessible , check for the transport connectors
日51分39秒
is there a special way to check ? as far as i know it does not show any address binding error in the console when i start up activemq.
日51分39秒
& 2017 内容协议他的最新文章
他的热门文章
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)}

我要回帖

更多关于 继电器工作原理 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信