5 seconds is the default delay between connection recovery attempts (setRecoveryInterval).
It means the container lost connection to the broker and cannot reconnect.
What are you using for a ConnectionFactory? What is the DMLC caching level?
The Spring connection factories detect JMX Exceptions (via an ExceptionListener) and reestablish the connections as needed.
Running with DEBUG logging level will add a full stack trace to the 'Connection is Closed' exception.
DEBUG logging should also provide some indication of what is going on during connection recovery.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware