cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-6869) Consider adding Spring Boot starter
Date Fri, 27 May 2016 10:07:12 GMT

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

Sergey Beryozkin edited comment on CXF-6869 at 5/27/16 10:06 AM:
-----------------------------------------------------------------

I'll  put the configuration processor dependency back now, thanks for the link.

Re JAX-RS vs JAX-WS auto configuration, as I said the fact SpringComponentScanServer indirectly
imports cxf.xml is not JAX-RS specific but is rather specific to the way this code has been
done in CXF JAX-RS.
 
I can simply remove JaxRsConfig from

https://github.com/apache/cxf/blob/master/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/spring/AbstractSpringConfigurationFactory.java#L34

if it can help ?

FYI, removing it in the demo did help, the auto configuration is effective if no SpringComponentScanServer
is imported:
http://git-wip-us.apache.org/repos/asf/cxf/commit/9b1b6cb

Cheers, Sergey


was (Author: sergey_beryozkin):
I'll  put the configuration processor dependency back now, thanks for the link.

Re JAX-RS vs JAX-WS auto configuration, as I said the fact SpringComponentScanServer indirectly
imports cxf.xml is not JAX-RS specific but is rather specific to the way this code has been
done in CXF JAX-RS.
 
I can simply remove JaxRsConfig if it can help ?

FYI, removing it in the demo did help, the auto configuration is effective if no SpringComponentScanServer
is imported:
http://git-wip-us.apache.org/repos/asf/cxf/commit/9b1b6cb

Cheers, Sergey

> Consider adding Spring Boot starter
> -----------------------------------
>
>                 Key: CXF-6869
>                 URL: https://issues.apache.org/jira/browse/CXF-6869
>             Project: CXF
>          Issue Type: New Feature
>          Components: Integration
>            Reporter: Vedran Pavic
>            Assignee: Sergey Beryozkin
>
> I've recently authored a PR in Spring Boot to add support for auto-configuration of {{CXFServlet}}
and default CXF's configuration:
> https://github.com/spring-projects/spring-boot/pull/5659
> The PR was closed with "won't fix" resolution since Boot team are unwilling to add CXF
as a dependency to the project. Instead a 3rd party starter was suggested.
> The concept of a 3rd party starter is generally encouraged for technologies that don't
have first-class support in projects from Spring portfolio. Such 3rd party starters are listed
here:
> https://github.com/spring-projects/spring-boot/blob/master/spring-boot-starters/README.adoc
> If CXF team is interested, I'm willing to port my PR to CXF.
> Note that the original PR was focused around JAX-WS support, but can be easily expanded
to include JAX-RS support as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message