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:16:24 UTC
[jira] Resolved: (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:all-tabpanel ]
Bruce Snyder resolved SM-1209.
------------------------------
Resolution: Fixed
Fix Version/s: 3.3
3.2.2
Assignee: Bruce Snyder
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.