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

        

Reply via email to