{"id":356,"date":"2013-12-20T18:56:01","date_gmt":"2013-12-20T17:56:01","guid":{"rendered":"http:\/\/blog.johannes-beck.name\/?p=356"},"modified":"2013-12-20T18:56:01","modified_gmt":"2013-12-20T17:56:01","slug":"websockets-with-hornetq-in-jboss-wildfly","status":"publish","type":"post","link":"https:\/\/blog.johannes-beck.name\/?p=356","title":{"rendered":"Websockets with HornetQ in JBoss Wildfly"},"content":{"rendered":"<p>As an update to my previous post &#8220;<a href=\"https:\/\/blog.johannes-beck.name\/?p=285\">Connecting Websockets with HornetQ in JBoss EAP 6.1<\/a>&#8221; here are the changes you need to do to get the example running in <a href=\"http:\/\/wildfly.org\" title=\"JBoss Wildfly\"><\/a> (Beta1=. <\/p>\n<p>First of all you need to setup an application user named &#8220;guest&#8221; with password &#8220;guest_12345!&#8221; and roles &#8220;guest&#8221;. This part was necessary in JBoss EAP 6.1 too.<\/p>\n<p>You need to go through all the steps described in the previous post which describes the changes in the JBoss configuration file. The only difference is this line:<\/p>\n<p><code>&lt;param key=\"protocol\" value=\"STOMP_WS\"\/&gt;<\/code><\/p>\n<p>which was stomp_ws in lowercase before. Additionally you need to update the file<\/p>\n<p><code>wildfly\/modules\/system\/layers\/base\/org\/ hornetq\/protocol\/stomp\/main\/module.xml<\/code><\/p>\n<p>with <\/p>\n<p><code><br \/>\n    ...<br \/>\n    &lt;dependencies&gt;<br \/>\n        &lt;!-- required to load HornetQ protocol SPI --&gt;<br \/>\n        &lt;module name=\"org.hornetq\"\/&gt;<br \/>\n\t\t&lt;module name=\"org.jboss.netty\"\/&gt;<br \/>\n    &lt;\/dependencies&gt;<br \/>\n    ...<br \/>\n<\/code><\/p>\n<p>The JAVA code needs some updates for the required libraries, you find that at GitHub <a href=\"https:\/\/github.com\/kifj\/stomp-test\/tree\/wildfly\">https:\/\/github.com\/kifj\/stomp-test\/tree\/wildfly<a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As an update to my previous post &#8220;Connecting Websockets with HornetQ in JBoss EAP 6.1&#8221; here are the changes you need to do to get the example running in (Beta1=. First of all you need to setup an application user named &#8220;guest&#8221; with password &#8220;guest_12345!&#8221; and roles &#8220;guest&#8221;. This part was necessary in JBoss EAP [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,3],"tags":[61,47,45,6],"class_list":["post-356","post","type-post","status-publish","format-standard","hentry","category-java","category-software-development","tag-java","tag-jboss-wildfly","tag-jms","tag-websockets"],"_links":{"self":[{"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=356"}],"version-history":[{"count":3,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":359,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=\/wp\/v2\/posts\/356\/revisions\/359"}],"wp:attachment":[{"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.johannes-beck.name\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}