I am using RabbitMQ with Spring AMQP
Yes
Can't confirm the thread, but from what I observe when Java RabbitMQ consumer consumes a message, it won't perform heartbeat acknowledgement. If the time to consume longer than 3 x heartbeat timeout timer (due to large message and/or low bandwidth), MQ server will close AMQP connection.
I resolved my issue by increasing heartbeat size. No further code change is required.