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

Sergey Beryozkin commented on CXF-6834:
---------------------------------------

Hi Vedran, thanks, I've been working with

https://spring.io/blog/2015/01/20/microservice-registration-and-discovery-with-spring-cloud-and-netflix-s-eureka

which is where I found about CommandLineRunner.
 
I've updated the client docs here:

http://cxf.apache.org/docs/jaxrsclientspringboot.html

and the demo a bit cleaner, moved it to a dedicated client application:

https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/client/SampleRestClientApplication.java

Cheers, Sergey



> add support for CXF inside Spring Boot
> --------------------------------------
>
>                 Key: CXF-6834
>                 URL: https://issues.apache.org/jira/browse/CXF-6834
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>            Reporter: james strachan
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.7, 3.2.0
>
>
> right now spring boot has support for Jersey; it'd be great to integrate 
> support for CXF too.
> e.g.
> * 
> https://github.com/spring-projects/spring-boot/tree/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey
> * 
> https://github.com/spring-projects/spring-boot/tree/master/spring-boot-starters/spring-boot-starter-jersey
> * 
> https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-jersey
> * 
> https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-jersey1
> mostly this is about submitting a PR against the spring-boot project; but it 
> may require a few changes in CXF to be more spring/spring-boot ready or to 
> work better with Spring Boot's auto configuration mechanism and tooling:
> * 
> https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-auto-configuration.html
> * 
> https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html
> Docs on creating auto configuration here:
> https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-developing-auto-configuration.html



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

Reply via email to