[ 
https://issues.apache.org/jira/browse/ARTEMIS-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734934#comment-14734934
 ] 

ASF GitHub Bot commented on ARTEMIS-220:
----------------------------------------

GitHub user jmesnil opened a pull request:

    https://github.com/apache/activemq-artemis/pull/160

    [ARTEMIS-220] Artemis RA does not close its connection factories when it is 
stopped.

    in stop(), close the knowConnectionFactories before clearing the collection.
    
    JIRA: https://issues.apache.org/jira/browse/ARTEMIS-220

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jmesnil/activemq-artemis 
ARTEMIS-220_RA_knownConnectionFactories

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/160.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #160
    
----
commit 8946aa974c023dbfb1e561106a5a2b88388f258e
Author: Jeff Mesnil <[email protected]>
Date:   2015-09-08T14:46:57Z

    [ARTEMIS-220] Artemis RA does not close its connection factories when it is 
stopped.
    
    in stop(), close the knowConnectionFactories before clearing the collection.
    
    JIRA: https://issues.apache.org/jira/browse/ARTEMIS-220

----


> Artemis RA does not close its connection factories when it is stopped.
> ----------------------------------------------------------------------
>
>                 Key: ARTEMIS-220
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-220
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Jeff Mesnil
>
> There is a regression caused by ARTEMIS-210 in the resource adapter.
> When the RA is stopped, it does not close its knowConnectionFactories before 
> clearing the collection.
> They may continue to consume messages for a while even though the RA is 
> stopped.
> This is highlighted in our app server test suite where we suspend the RA and 
> resume it.
> We see errors after the suspension because the Artemis Message Handler 
> continues to consume messages although the RA is stopped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to