Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consumer Fails to Reconnect and Consume Messages with Apache Qpid JMS Client (Version 0.51.0) #431

Open
bhushanmali772 opened this issue Sep 25, 2023 · 0 comments

Comments

@bhushanmali772
Copy link

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

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant