You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2018/12/03 13:25:00 UTC

[jira] [Assigned] (CXF-7908) Allow to customise JAXRS server in spring boot when using cxf-spring-boot-autoconfigure

     [ https://issues.apache.org/jira/browse/CXF-7908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh reassigned CXF-7908:
----------------------------------------

    Assignee: Andriy Redko

> Allow to customise JAXRS server in spring boot when using cxf-spring-boot-autoconfigure
> ---------------------------------------------------------------------------------------
>
>                 Key: CXF-7908
>                 URL: https://issues.apache.org/jira/browse/CXF-7908
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 3.2.7
>            Reporter: Maciej Swiderski
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 3.3.0, 3.2.8
>
>
> when using cxf-spring-boot-autoconfigure (via cxf-spring-boot-starter-jaxrs) there is no way to customise JAXRS server when using component or class scan and with spring boot 2 the bean override is disable by default meaning it will throw an exception if there are multiple beans of the same type).
> Idea is to use 
> {code:java}
> @ConditionalOnMissingBean(name = "jaxRsServerConfiguration"){code}
> on the auto configuration to allow customisation. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)