You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cachingConnectionFactory.setCacheConsumers(false);
However, I'm encountering an issue where the producer successfully sends messages, but the listener/consumer is not able to consume these messages. Instead, the connection is closed with the following error:
[QpidJMS Connection Executor: ID:] [o.s.j.c.CachingConnectionFactory.onException.366 - Encountered a JMSException - resetting the underlying JMS Connection]
org.apache.qpid.jms.JmsConnectionRemotelyClosedException: The connection was inactive for more than the allowed 300000 milliseconds and is closed by container 'LinkTracker'. TrackingId:, SystemTracker:gateway5, Timestamp:2023-08-18T10:53:24 [condition = amqp:connection:forced]
Expected Behavior
I expect the consumer to reconnect and consume messages successfully after the producer sends them.
Versions
Maven package version or commit ID: org.apache.qpid:qpid-jms-client:0.51.0
This issue is causing messages to remain in an "inProgress" status, and I need assistance in resolving this problem. Any guidance or insights into why the consumer is not able to reconnect and consume messages would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Actual Behavior
I'm currently using the Apache Qpid JMS client version
0.51.0
and have configured the connection factory with the following settings:cachingConnectionFactory.setReconnectOnException(true);
cachingConnectionFactory.setCacheProducers(false);
cachingConnectionFactory.setCacheConsumers(false);
However, I'm encountering an issue where the producer successfully sends messages, but the listener/consumer is not able to consume these messages. Instead, the connection is closed with the following error:
[QpidJMS Connection Executor: ID:] [o.s.j.c.CachingConnectionFactory.onException.366 - Encountered a JMSException - resetting the underlying JMS Connection]
org.apache.qpid.jms.JmsConnectionRemotelyClosedException: The connection was inactive for more than the allowed 300000 milliseconds and is closed by container 'LinkTracker'. TrackingId:, SystemTracker:gateway5, Timestamp:2023-08-18T10:53:24 [condition = amqp:connection:forced]
Expected Behavior
I expect the consumer to reconnect and consume messages successfully after the producer sends them.
Versions
org.apache.qpid:qpid-jms-client:0.51.0
This issue is causing messages to remain in an "inProgress" status, and I need assistance in resolving this problem. Any guidance or insights into why the consumer is not able to reconnect and consume messages would be greatly appreciated.
The text was updated successfully, but these errors were encountered: