Hi, I tried several examples and none is working. There are examples that are
using Jetty, CXF, Servlet. But they are either using Java DSL, Spring XML.

For CXFRS + Blueprint I found this example:
https://github.com/apache/camel/tree/master/examples/camel-example-servlet-rest-blueprint/src/main/java/org/apache
...but it does not use Swagger.

CXFRS itself is working, but not with Swagger. Also there is some new
package camel-swagger-java that looks like it does not support XML DSL at
all.

I'm using Camel 2.17 with JBoss Studio (Fuse + Karaf). I'm testing the camel
context in local environment (Run -> Camel context without tests).

This is how I have defined the CXF with Rest server:
    <cxf:rsServer address="http://localhost:8080/rest"; id="customerService">
        <cxf:serviceBeans>
            <ref component-id="tenantService"/>
        </cxf:serviceBeans>
        <cxf:providers>
            <ref component-id="jsonProvider"/>
        </cxf:providers>
    </cxf:rsServer>

Is there some way to get Swagger + SwaggerUI in Blueprint with CXFRS for
Camel 2.17 without deprecated components?

Thank you!
Lukas



--
View this message in context: 
http://camel.465427.n5.nabble.com/Swagger-SwaggerUI-CXFRS-Blueprint-example-tp5792817.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to