Search code examples
javajakarta-eerabbitmqamqpspring-amqp

RabbitMQ client hanging up in channel.close() and connection.close()


I am using amqp-client in java but JVM hangs up infinitely while closing channel.
If I remove channel.close() it jvm hang up infinitely on connection.close().
I went through API classes and saw that in both cases RabbitMQ API take timeout as infinite an it just waits reply.

Please tell if their is any workaround to this. I am using amqp-client-3.1.3.
Many thanks.


Solution

  • Finally I figure out the solution to the problem Memory of the rabbitmq server was full. It started working as soon as i cleared it.