This content has been marked as final.
Show 1 reply
-
1. Re: How to forward request to a secured external service in a camel route
davsclaus Aug 26, 2013 8:52 AM (in response to rvojjala)You need to use "jettyInternal" and "jettyExternal" in the route, as if you use "jetty" it uses the default component.
eg you should use the as the Camel component.
Something alike
<route> <from uri="jettyInternal:https://0.0.0.0:8083/MyAppContext?matchOnUriPrefix=true"></from> <from uri="jettyExternal:https://external:9083/ExternalService?bridgeEndpoint=true&throwExceptionOnFailure=true"></from> </route>