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

    Wildfly 10 JMS Clustering (Artemis)

    kir0

      Hello,

       

      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)
          mnovak

          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:230.0.0.4}" 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.

           

          Thanks,

          Mirek