This content has been marked as final.
Show 2 replies
-
1. Re: stomp-websocket example with WildFly 9
polyzois Sep 23, 2015 4:37 PM (in response to alexander.winizki)Did you need to touch any WildFly configuration to make STOMP work in v 8.2.2?
-
2. Re: stomp-websocket example with WildFly 9
polyzois Sep 24, 2015 3:41 AM (in response to alexander.winizki)I managed to get that example running on Wildly 10.0.CR1. I did the following:
- Add a application user guest/guest (./add-user.sh)
- Add topic called chat (jobss-cli.sh jms-topic add --entries=/topic/chat --topic-address=chat )
- Added an Acceptor with protocols STOMP and port 61613
- Changed chat html url to point to ws://localhost61613
acceptor looks like below
<subsystem xmlns="urn:jboss:domain:messaging-activemq:1.0">
<server name="default">...
<acceptor name="stomp-acceptor" factory-class="org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory">
<param name="protocols" value="STOMP"/>
<param name="port" value="61613"/>
</acceptor>
...
</server>
</subsystem>