1 Reply Latest reply on Aug 17, 2017 5:52 AM by Miroslav Novak

    Wildfly 10 JMS Clustering (Artemis)

    Marcel M Newbie



      at the moment i'm trying to setup a JMS-Cluster with two widlfly 10 instances, but it's not working.

      We are using Artemis (Activemq) on both wildfly instances. Both instances are running in standalone-mode.


      Can anyone provide a sample configuration for wildfly 10 with activemq in standalone-mode with clustering?


      Thanks in advance.

        • 1. Re: Wildfly 10 JMS Clustering (Artemis)
          Miroslav Novak Master

          Hi Marcel,


          standalone-full-ha.xml provides Artemis clustering out-of-the-box. But it's secured so it's needed to set

                      <cluster password="${jboss.messaging.cluster.password:CHANGE ME!!}"/>


          As Artemis is using JGroups for discovery nodes in cluster then you will most likely need to set:

              <socket-binding name="jgroups-udp" interface="private" port="55200" multicast-address="${jboss.default.multicast.address:}" multicast-port="45688"/>
              <socket-binding name="jgroups-udp-fd" interface="private" port="54200"/>

          to use "public" interface instead of "private" so multicast can spread to local network.