cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CXF-3734) CXF serverFactoryBean should not use the thread default bus by default
Date Thu, 11 Aug 2011 15:03:27 GMT

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

Willem Jiang edited comment on CXF-3734 at 8/11/11 3:02 PM:
------------------------------------------------------------

Dan just withdrawn the vote of 2.4.2, and this patch can catch up with the release train.


      was (Author: njiang):
    Dan just withdrawn the vote of 2.4.2 and 2.3.6 , and this patch can catch up with the
release train. 
  
> CXF serverFactoryBean should not use the thread default bus by default
> ----------------------------------------------------------------------
>
>                 Key: CXF-3734
>                 URL: https://issues.apache.org/jira/browse/CXF-3734
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS, JAX-WS Runtime, Simple Frontend
>    Affects Versions: 2.4, 2.4.1
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.4.2
>
>
> AbstractEndpointFactory.getBus() will try to call the BusFactory.getThreadDefaultBus()
if the bus is null.
> But in the CXF ServerFactoryBean the bus wiring code is like this
> {code}
>      public void setApplicationContext(ApplicationContext ctx) throws BeansException
{
>             if (getBus() == null) {
>                 setBus(BusWiringBeanFactoryPostProcessor.addDefaultBus(ctx));
>             }
>         }
> {code}
> This behavior will cause some error as this mail thread[1] discussed 
> [1]http://camel.465427.n5.nabble.com/cxf-rest-service-disappears-with-camel-2-8-0-td4666710.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message