Bug 45629 - TopicConnection is not closed
Summary: TopicConnection is not closed
Status: NEW
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
Depends on:
Reported: 2008-08-13 17:56 UTC by Hao Zhong
Modified: 2008-08-13 17:56 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Hao Zhong 2008-08-13 17:56:20 UTC
In the code snippet [1], public JMSSink( String tcfBindingName, String topicBindingName, String username, String password) creates a TopicConnection but does not close it in any situation. JMSSink needs to implement a close method to deal with the resource, doesn't it?