You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/08/14 02:56:21 UTC

DO NOT REPLY [Bug 45629] New: TopicConnection is not closed

https://issues.apache.org/bugzilla/show_bug.cgi?id=45629

           Summary: TopicConnection is not closed
           Product: Log4j
           Version: unspecified
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: ackel@sohu.com


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? 

[1]http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/net/JMSSink.java?revision=565523&view=markup


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org