You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jim Gomes (JIRA)" <ji...@apache.org> on 2008/02/29 02:07:17 UTC

[jira] Created: (AMQNET-80) Close()/Dispose() Methods are not properly protected

Close()/Dispose() Methods are not properly protected
----------------------------------------------------

                 Key: AMQNET-80
                 URL: https://issues.apache.org/activemq/browse/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.


[jira] Updated: (AMQNET-80) Close()/Dispose() Methods are not properly protected

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes updated AMQNET-80:
----------------------------

    Attachment: ProtectCloseMethod.patch

No option to grant ASF license to attachment when creating original Issue.

> Close()/Dispose() Methods are not properly protected
> ----------------------------------------------------
>
>                 Key: AMQNET-80
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-80
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Jim Gomes
>            Assignee: James Strachan
>         Attachments: ProtectCloseMethod.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> 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.


[jira] Closed: (AMQNET-80) Close()/Dispose() Methods are not properly protected

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes closed AMQNET-80.
---------------------------


> Close()/Dispose() Methods are not properly protected
> ----------------------------------------------------
>
>                 Key: AMQNET-80
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-80
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.0
>
>         Attachments: ProtectCloseMethod.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> 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.


[jira] Resolved: (AMQNET-80) Close()/Dispose() Methods are not properly protected

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes resolved AMQNET-80.
-----------------------------

    Resolution: Fixed

> Close()/Dispose() Methods are not properly protected
> ----------------------------------------------------
>
>                 Key: AMQNET-80
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-80
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.0
>
>         Attachments: ProtectCloseMethod.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> 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.


[jira] Updated: (AMQNET-80) Close()/Dispose() Methods are not properly protected

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes updated AMQNET-80:
----------------------------

    Assignee: Jim Gomes  (was: James Strachan)

> Close()/Dispose() Methods are not properly protected
> ----------------------------------------------------
>
>                 Key: AMQNET-80
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-80
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>         Attachments: ProtectCloseMethod.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> 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.


[jira] Updated: (AMQNET-80) Close()/Dispose() Methods are not properly protected

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes updated AMQNET-80:
----------------------------

    Fix Version/s: 1.0

> Close()/Dispose() Methods are not properly protected
> ----------------------------------------------------
>
>                 Key: AMQNET-80
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-80
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.0
>
>         Attachments: ProtectCloseMethod.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> 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.


[jira] Updated: (AMQNET-80) Close()/Dispose() Methods are not properly protected

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes updated AMQNET-80:
----------------------------

    Attachment:     (was: ProtectCloseMethod.patch)

> Close()/Dispose() Methods are not properly protected
> ----------------------------------------------------
>
>                 Key: AMQNET-80
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-80
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Jim Gomes
>            Assignee: James Strachan
>         Attachments: ProtectCloseMethod.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> 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.