O'Reilly logo

JBoss: Developer's Guide by Elvadas Nono Woguia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Solution

Fuse and Apache camel provide various components to set up a web service proxy, including Apache CXF endpoints, Apache CXFRS, Jetty, and so on.

To build a VDB proxy on Fuse, we will create an OSGi Camel Blueprint application called beosbank-vdb-proxy.

For reference, you can browse the final version of the vdb proxy application at   chapters/ch6/beosbank-vdb-wsproxy

The application is using both Jetty and Apache CXFRS endpoints:

 <camelContext id="beosbank-vdb-wsproxy">        <route customId="true" id="vdb-proxy-route">            <from uri="jetty://{{proxy.httpBaseUrl}}/{{proxy.uri}}?matchOnUriPrefix=true"/>           <log  message="Request received ${headers} ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required