Artemis is configured in HA, with one master and a backup slave in different VM's.
The broker.xml
configuration uses static discovery options and the acceptors, 61616 supporing all the protocols, and AMQP.
The configuration is similar to this link
artemis.log (below issue is continuously logged)
WARN [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure to <ip-address> has been detected: readAddress(..) failed: Connection reset by peer [code=GENERIC_EXCEPTION]
From the logs, the ip-address info it seems to be one of the clients/consumer is pushing this info.
In another post link it was recommended to use confirmationWindowSize
. But not sure whether this is applicable for my case.
The client configuration is using Camel and the ActiveMQ OpenWire client version 5.13.2 to connect:
<bean id="conxnFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://domain-name:port" />
</bean>
<bean id="pooledconxnFactory" class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start" destroy-method="stop">
<property name="maxConnections" value="5" />
<property name="connectionFactory" ref="conxnFactory" />
</bean>
<bean id="config" class="org.apache.camel.component.jms.JmsConfiguration">
<property name="connectionFactory" ref="pooledconxnFactory" />
<property name="concurrentConsumers" value="5" />
</bean>
<bean id="jmsqueue" class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="configuration" ref="config" />
</bean>
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<endpoint id="inputQueue" uri="jmsqueue:queue:dataqueue1" />
<route>
<from uri="ref:inputQueue" />
<!-- process -->
<to uri="ref:outputQueue"/> <!-- endpoint defined already not included in here-->
...
...
Any inputs/ideas, why this occurs.
confirmationWindowSize
will almost certainly not help in this case. The recommendation was based on the use of the HTTP transport with the Artemis core JMS client. You are not using either of these. – Tatiana