You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2018/11/30 00:54:57 UTC

[GitHub] reta commented on issue #477: CXF-7908 - Allow to customise JAXRS server in spring boot when using …

reta commented on issue #477: CXF-7908 - Allow to customise JAXRS server in spring boot when using …
URL: https://github.com/apache/cxf/pull/477#issuecomment-443050444
 
 
   Thanks for the PR, @mswiderski, may be we could apply a bit simple / straightforward solution by adding `@ConditionalOnMissingBean` to `jaxRsServer` itself? F.e.
   
   ```
   public class SpringComponentScanServer extends AbstractSpringComponentScanServer {
       @Bean
       @ConditionalOnMissingBean
       public Server jaxRsServer() {
           return super.createJaxRsServer();
       }
   }
   ```
   
   And same for `SpringJaxrsClassesScanServer`? What do you think? 
   Thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services