TopicConnection is not closed
-----------------------------

                 Key: LOG4J2-25
                 URL: https://issues.apache.org/jira/browse/LOG4J2-25
             Project: Log4j 2
          Issue Type: Bug
            Reporter: Hao Zhong


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to