No reconnection attempt after temporary downtime on a Wildfly ActiveMQ cluster-connection
05:42 19 Oct 2026

On a production environment, we have two servers with Wildfly installed with IP address 1.1.1.1, 1.1.1.2, 1.1.1.3 and 1.1.1.4.

We're using the messaging-activemq subsystem on it.

About the environment

  • Wildlfy version: 14
  • Java version: java version "1.8.0_102"
  • Apache ActiveMQ Artemis Message Broker version 2.6.3

The problem

There's a intermittent network failure between the nodes sometimes. (We didn't identify the root cause yet). This cause the cluster-connection to output this warning message on all of the server when the link is down:

2026-10-19 09:12:30,938 WARN  [org.apache.activemq.artemis.core.client] (Thread-35726 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@440fab28)) AMQ212037: Connection failure has been detected: AMQ119014: Did not receive data from /1.1.1.1:41097 within the 60,000ms connection TTL. The connection will now be closed. [code=CONNECTION_TIMEDOUT]
2026-10-19 09:12:43,471 WARN  [org.apache.activemq.artemis.core.server] (Thread-30340 (ActiveMQ-client-global-threads)) AMQ222095: Connection failed with failedOver=false

After some time, the connection is right back up. Here's the log that says that cluster-connection between 1.1.1.1 and 1.1.1.3 is back up:

2026-10-19 09:13:03,209 INFO  [org.apache.activemq.artemis.core.server] (Thread-35737 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@440fab28)) AMQ221027: Bridge ClusterConnectionBridge@37aaa1c1 [name=$.artemis.internal.sf.my-cluster.5ced338e-a8a5-11e9-8da0-005056a54674, queue=QueueImpl[name=$.artemis.internal.sf.my-cluster.5ced338e-a8a5-11e9-8da0-005056a54674, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::serverUUID=a58f34e4-1d26-11ea-b9cd-005056a52390], temp=false]@396d5944 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@37aaa1c1 [name=$.artemis.internal.sf.my-cluster.5ced338e-a8a5-11e9-8da0-005056a54674, queue=QueueImpl[name=$.artemis.internal.sf.my-cluster.5ced338e-a8a5-11e9-8da0-005056a54674, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::serverUUID=a58f34e4-1d26-11ea-b9cd-005056a52390], temp=false]@396d5944 targetConnector=ServerLocatorImpl [initialConnectors=[TransportConfiguration(name=http-connector, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?httpUpgradeEndpoint=http-acceptor&activemqServerName=default&httpUpgradeEnabled=true&port=8080&host=1.1.1.1], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@1827901072[nodeUUID=a58f34e4-1d26-11ea-b9cd-005056a52390, connector=TransportConfiguration(name=http-connector, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?httpUpgradeEndpoint=http-acceptor&activemqServerName=default&httpUpgradeEnabled=true&port=8080&host=1.1.1.3, address=jms, server=ActiveMQServerImpl::serverUUID=a58f34e4-1d26-11ea-b9cd-005056a52390])) [initialConnectors=[TransportConfiguration(name=http-connector, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?httpUpgradeEndpoint=http-acceptor&activemqServerName=default&httpUpgradeEnabled=true&port=8080&host=1.1.1.1], discoveryGroupConfiguration=null]] is connected

This happens many time a day. The real problem is that at one point the node will stop attempting to reconnect despite:

reconnect-attempts=-1
retry-interval=5000

The last log will be: AMQ212037: Connection failure has been detected: AMQ119014: Did not receive data from /1.1.1.1:56641 within the 60,000ms connection TTL. The connection will now be closed. [code=CONNECTION_TIMEDOUT].

And then no more reconnection attempt. At this point, jboss-cli will shows that there's no other nodes on the cluster-connection:

[standalone@1.1.1.1:9991 /] ls /subsystem=messaging-activemq/server=default/cluster-connection=my-cluster:get-nodes()
allow-direct-connections-only=false
call-failover-timeout=-1
call-timeout=30000
check-period=30000
cluster-connection-address=jms
confirmation-window-size=1048576
connection-ttl=60000
connector-name=http-connector
discovery-group=dg-group1
initial-connect-attempts=-1
max-hops=1
max-retry-interval=30000
message-load-balancing-type=ON_DEMAND
min-large-message-size=102400
node-id=5ced338e-a8a5-11e9-8da0-005056a54674
notification-attempts=2
notification-interval=1000
producer-window-size=-1
reconnect-attempts=-1
retry-interval=5000
retry-interval-multiplier=1.0
started=true
static-connectors=undefined
topology=topology on Topology@14161c09[owner=ClusterConnectionImpl@195432781[nodeUUID=5ced338e-a8a5-11e9-8da0-005056a54674, connector=TransportConfiguration(name=http-connector, factory=org-apache-activemq-artemis-core-remoting-impl-n
etty-NettyConnectorFactory) ?httpUpgradeEndpoint=http-acceptor&activemqServerName=default&httpUpgradeEnabled=true&port=8080&host=192-168-98-168, address=jms, server=ActiveMQServerImpl::serverUUID=5ced338e-a8a5-11e9-8da0-005056a54674]]
:
        5ced338e-a8a5-11e9-8da0-005056a54674 => TopologyMember[id = 5ced338e-a8a5-11e9-8da0-005056a54674, connector=Pair[a=TransportConfiguration(name=http-connector, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnecto
rFactory) ?httpUpgradeEndpoint=http-acceptor&activemqServerName=default&httpUpgradeEnabled=true&port=8080&host=192-168-98-168, b=null], backupGroupName=null, scaleDownGroupName=null]
        nodes=1 members=1
use-duplicate-detection=true

messaging-activemq subsystem configuration

Configuration file

Here's the relevant configuration file:



  
    
    
    
    
    
    
    ...
  ...
  
    ...
    
      
        
      
      
        
          
          
          
          
          
          
          
          
          
          
          
          
          
        
        
          
          
          
          
          
          
          
          
          
          
          
          
        
      
    
    
      
        
        
          
        
        
        
        
          
        
        
        
        
          
          
        
        
        
        
        
        
        
        
        
        
        
        
      
    
  ...

wildfly activemq-artemis wildfly-14