activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes (JIRA)" <>
Subject [jira] Created: (AMQNET-80) Close()/Dispose() Methods are not properly protected
Date Fri, 29 Feb 2008 01:07:17 GMT
Close()/Dispose() Methods are not properly protected

                 Key: AMQNET-80
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ Client
            Reporter: Jim Gomes
            Assignee: James Strachan
         Attachments: ProtectCloseMethod.patch

The Close() methods in Session, MessageConsumer, and MessageProducer are not properly protected
from being called more than once.  They can be called more than once if the owner of these
objects calls the Close() method explicitly and then when they are finalized through the IDispose
interface.  The Close() methods in these objects should be protected in the same way the Close()
method is protected in the Connection object.

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

View raw message