[
https://issues.apache.org/activemq/browse/SM-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated SM-1209:
--------------------------------
Fix Version/s: servicemix-jms-2008.01
> 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, servicemix-jms-2008.01
>
> 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.