If any of the operations throws an exception before the call to _delegate.closeConnection(timeout); then we will leak socket connections.
I already see this happening when running performance tests, where session/connection close operations are timing out. The number of connections keeps growing.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|25d 3h 43m||1||Rajith Attapattu||30/Apr/13 18:01|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||0.22 [ 12324272 ]|
|Fix Version/s||Future [ 12315490 ]|
|Resolution||Fixed [ 1 ]|
|Field||Original Value||New Value|
|Summary||AMQConnection close is leaking socket connections||AMQConnection close can leak socket connections if exceptions occur earlier in the process|