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 15:04:16 UTC

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

    [ 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