Hi

I think you will need to have something similar to what I did for JAX-RS:

https://github.com/apache/cxf/blob/master/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spring/JaxRsWebClientConfiguration.java
https://github.com/apache/cxf/blob/master/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spring/AbstractJaxRsClientConfiguration.java

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

though it only covers auto-wiring a bus, as far as HTTPConduit is concerned - it may still be simpler to import an XML file where it is set

Cheers, Sergey
On 21/06/17 13:15, David Karlsen wrote:
hi!
I have a spring+cxf app which I'm moving to springboot+cxf (to avoid all
the .xml), but I'm finding the path to configure cxf stuff (bus etc) a bit
hard to figure out.
My original xml-based config which I want to replace is:
https://pastebin.com/tbYRuWX8
and my @Configuration equivalent is https://pastebin.com/jXb5kXQk - but
howto make the HTTPConduit with the matcher pattern?

Seems like others are struggling with the same:
http://trabajosdesisifo.blogspot.no/2016/04/camel-cxf-spring-boot-web-service-proxy.html

Any advice - have others gone down this path?

Reply via email to