How to use Camel as a HTTP proxy between a client and serverPage added by Claus IbsenHow to use Camel as a HTTP proxy between a client and serverYou may have an existing HTTP service, which you want to use Camel in between as a proxy, between the client and the server. This can be done using the Jetty component as follows: <route> <from uri="jetty:http://0.0.0.0:8080/myapp?matchOnUriPrefix=true"/> <to uri="jetty:http://realserverhostname:8090/myapp?bridgeEndpoint=true&throwExceptionOnFailure=false"/> </route>
Change Notification Preferences
View Online
|
Add Comment
|