You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2008/01/24 22:24:24 UTC

[jira] Issue Comment Edited: (SM-1209) JmsConsumerEndpoint doesn't shut down the Spring AbstractMessageListenerContainer properly

    [ https://issues.apache.org/activemq/browse/SM-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41159#action_41159 ] 

bsnyder edited comment on SM-1209 at 1/24/08 1:23 PM:
-----------------------------------------------------------

Commited to trunk (3.3) via [revision 614995|http://svn.apache.org/viewvc?rev=614995&view=rev]. 

Committed to 3.2 branch via [revision 614996|http://svn.apache.org/viewvc?rev=614996&view=rev]. 

      was (Author: bsnyder):
    Commited via [revision 614995|http://svn.apache.org/viewvc?rev=614995&view=rev]. 
  
> JmsConsumerEndpoint doesn't shut down the Spring AbstractMessageListenerContainer properly 
> -------------------------------------------------------------------------------------------
>
>                 Key: SM-1209
>                 URL: https://issues.apache.org/activemq/browse/SM-1209
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-jms
>    Affects Versions: 3.2, 3.2.1
>            Reporter: Bruce Snyder
>            Assignee: Bruce Snyder
>             Fix For: 3.2.2, 3.3
>
>         Attachments: JmsConsumerEndpoint.patch.txt
>
>
> When SUs are configured via a {{xbean.xml}} file and the configuration uses the {{jms:consumer}} element, the endpoint created by that SU utlizes the  [{{JmsConsumerEndpoint}}|https://projects.open.iona.com/projects/trac/iona/browser/servicemix/branches/servicemix-3.3.1-fuse/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java] class. When the SU is stopped/undeployed/redeployed, the embedded [AbstractMessageListenerContainer|http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/jms/listener/AbstractMessageListenerContainer.html] is not shut down which leaves JMS resources open. This due to a missing call to the {{AbstractMessageListenerContainer.shutdown()}} method in the {{JmsConsumerEndpoint.stop()}} method. Attached is a patch to fix this problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.