|
@ -10,6 +10,7 @@ public class ProxyRouteBuilder extends RouteBuilder {
|
|
@Override
|
|
@Override
|
|
public void configure() throws Exception {
|
|
public void configure() throws Exception {
|
|
from("jetty:http://0.0.0.0:9999?matchOnUriPrefix=true").routeId("proxy")
|
|
from("jetty:http://0.0.0.0:9999?matchOnUriPrefix=true").routeId("proxy")
|
|
|
|
.noStreamCaching()
|
|
.to("jetty:http://192.168.1.221:10000?bridgeEndpoint=true&throwExceptionOnFailure=false");
|
|
.to("jetty:http://192.168.1.221:10000?bridgeEndpoint=true&throwExceptionOnFailure=false");
|
|
}
|
|
}
|
|
}
|
|
}
|