[undertow-dev] LoadBalancingProxyClient URI mapping

paroczizs . paroczizs at gmail.com
Tue Feb 13 11:18:44 EST 2018


Hi undertow Dev!

I would like to use the LoadBalancingProxyClient from a custom handler and
forward the request to a different server and different URI.

The server is set up this way:

LoadBalancingProxyClient  lb = ..
lb.addHost(new URI("http://localhost:5001/other-app/service1"));

The handler is mapped like this

path = /my-server/serv-one


In the log I found this:

DEBUG [io.undertow.server.handlers.proxy] (default I/O-2) Sending request
ClientRequest{path='/other-app/service1/my-server/serv-one', method=GET,
protocol=HTTP/1.1} ..

Regards, Zsolt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20180213/29834519/attachment.html 


More information about the undertow-dev mailing list