You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rob Lugt (JIRA)" <ji...@apache.org> on 2006/10/19 14:56:16 UTC

[jira] Created: (AMQ-996) IConnection requires Start(), Stop() and Close() methods

IConnection requires Start(), Stop() and Close() methods
--------------------------------------------------------

                 Key: AMQ-996
                 URL: https://issues.apache.org/activemq/browse/AMQ-996
             Project: ActiveMQ
          Issue Type: Improvement
          Components: NMS (C# client)
    Affects Versions: 4.0.2
         Environment: Windows
            Reporter: Rob Lugt


These three methods are needed to bring IConnection closer to the JMS Connection interface, and also provide important capabilities.

Start() and Stop() methods should start and stop/join the underlying transport's reader thread.  Close() should perform the tasks described in the JMS specification (ie wait for current message to be processed), whereas Dispose should probably concern itself simply with freeing up resources.

Both Close() and Dispose() should be able to be called multiple times without throwing an exception.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (AMQ-996) IConnection requires Start(), Stop() and Close() methods

Posted by "james strachan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-996?page=all ]

james strachan resolved AMQ-996.
--------------------------------

    Fix Version/s: 4.1
       Resolution: Fixed

Fixed by AMQ-999

> IConnection requires Start(), Stop() and Close() methods
> --------------------------------------------------------
>
>                 Key: AMQ-996
>                 URL: https://issues.apache.org/activemq/browse/AMQ-996
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: NMS (C# client)
>    Affects Versions: 4.0.2
>         Environment: Windows
>            Reporter: Rob Lugt
>         Assigned To: james strachan
>             Fix For: 4.1
>
>
> These three methods are needed to bring IConnection closer to the JMS Connection interface, and also provide important capabilities.
> Start() and Stop() methods should start and stop/join the underlying transport's reader thread.  Close() should perform the tasks described in the JMS specification (ie wait for current message to be processed), whereas Dispose should probably concern itself simply with freeing up resources.
> Both Close() and Dispose() should be able to be called multiple times without throwing an exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (AMQ-996) IConnection requires Start(), Stop() and Close() methods

Posted by "Rob Lugt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-996?page=all ]

Rob Lugt reassigned AMQ-996:
----------------------------

    Assignee: james strachan

Hi James. This is resolved by the patch supplied for AMQ-999.  Please review and resolve if you are satisfied.

> IConnection requires Start(), Stop() and Close() methods
> --------------------------------------------------------
>
>                 Key: AMQ-996
>                 URL: https://issues.apache.org/activemq/browse/AMQ-996
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: NMS (C# client)
>    Affects Versions: 4.0.2
>         Environment: Windows
>            Reporter: Rob Lugt
>         Assigned To: james strachan
>
> These three methods are needed to bring IConnection closer to the JMS Connection interface, and also provide important capabilities.
> Start() and Stop() methods should start and stop/join the underlying transport's reader thread.  Close() should perform the tasks described in the JMS specification (ie wait for current message to be processed), whereas Dispose should probably concern itself simply with freeing up resources.
> Both Close() and Dispose() should be able to be called multiple times without throwing an exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (AMQ-996) IConnection requires Start(), Stop() and Close() methods

Posted by "Rob Lugt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-996?page=comments#action_37243 ] 
            
Rob Lugt commented on AMQ-996:
------------------------------

Ah, I just noticed IConnection implements IStoppable and IStartable. Still, ActiveMQ connection doesn't do anything with these methods currently so the above description still stands.

> IConnection requires Start(), Stop() and Close() methods
> --------------------------------------------------------
>
>                 Key: AMQ-996
>                 URL: https://issues.apache.org/activemq/browse/AMQ-996
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: NMS (C# client)
>    Affects Versions: 4.0.2
>         Environment: Windows
>            Reporter: Rob Lugt
>
> These three methods are needed to bring IConnection closer to the JMS Connection interface, and also provide important capabilities.
> Start() and Stop() methods should start and stop/join the underlying transport's reader thread.  Close() should perform the tasks described in the JMS specification (ie wait for current message to be processed), whereas Dispose should probably concern itself simply with freeing up resources.
> Both Close() and Dispose() should be able to be called multiple times without throwing an exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira