Getting AMQP exception "Remote did not respond to a drain request in time"

Solution Verified - Updated -

Issue

The AMQP consumer sessions are getting closed automatically, and the following error is shown in the logs:

org.apache.qpid.jms.JmsSession           : A JMS MessageConsumer has been closed: JmsConsumerInfo: { ID:7c13658d-e769-4c65-a3c8-e19aa35827b3:2:3:1, destination = QUEUE }
o.s.j.l.DefaultMessageListenerContainer  : Setup of JMS message listener invoker failed for destination 'QUEUE' - trying to recover. Cause: Remote did not respond to a drain request in time

Environment

  • AMQ 7.x
  • Qpid Java client

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content