If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

This is effectively "works as designed"; the container assumes that the messaging middle-ware is functional and attempts to reconnect to it until its healthy again. The only way to really prevent the long-term memory leak here would be to (perhaps) introduce some sort of "MaxMessagingMiddlewareConnectAttempts" setting which would signal the container to enter a "final failure state" once this threshold was reached.

As it is today, this feature isn't really part of the semantic intended behavior of the MessageListenerContainer so I've closed https://jira.spring.io/browse/SPRNET-1500 as "works-as-designed" for at least the time being.