[ 
https://issues.apache.org/jira/browse/CXF-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974202#action_12974202
 ] 

Willem Jiang commented on CXF-3213:
-----------------------------------

The fix is only working for Spring 3.x.

If you are using Spring 2.5.6, please make sure the CamelContext  includes this 
lines, to make sure the BusApplicationListener is registered with the 
CamelContext. 
{code}
    <import resource="classpath:META-INF/cxf/cxf.xml"/>
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" />
{code}

> BusApplicationListener should listen to the parent context events of the 
> BusApplicationContext
> ----------------------------------------------------------------------------------------------
>
>                 Key: CXF-3213
>                 URL: https://issues.apache.org/jira/browse/CXF-3213
>             Project: CXF
>          Issue Type: Improvement
>          Components: Bus
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.2, 2.2.13, 2.4
>
>
> If the CXF endpoint is create from other application context such as  a 
> CamelContext, if we just close the CamelContext, the cxf endpoint will not be 
> shut down rightly.
> The key is BusApplicationListener doesn't listen to the parent context events 
> of the BusApplicationContext.

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

Reply via email to