Closed
Description
Affects Version(s): \2.2.3.RELEASE
Since https://jira.spring.io/browse/AMQP-779
When using custom correlationId there is a memory leak in the following line:
The field replyHolder of class RabbitTemplate is always cleaned up using the messageTag
variable in the end of method doSendAndReceiveAsListener.
Even if the correlatrionId is used to put a pending reply in that replyHolder map.
In my humble opinion the method should ony use one of the local variables messageTag
and correlationId
.