activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Lugt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-996) IConnection requires Start(), Stop() and Close() methods
Date Thu, 19 Oct 2006 13:04:16 GMT
    [ 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

        

Mime
View raw message