JMS Producers are cached even when the destination is a temporary queue causing a memory leak [SPR-16353] #20900
Labels
in: messaging
Issues in messaging modules (jms, messaging)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Facundo Velazquez opened SPR-16353 and commented
Looking at the code, in CachingConnectionFactory class, I can see this fix was added some years ago for fixing the same case but on the consumer side.
However, Temporary queue producers are always cached.
This scenario was discovered in a request-response scenario which is causing a memory leak in the Mule ESB. At least from my perspective, it doesn't make sense, since temporary queues producers won't be used more than once.
Affects: 4.3.13, 5.0.2
Issue Links:
Referenced from: commits 72590db, bf4cada
Backported to: 4.3.14
The text was updated successfully, but these errors were encountered: