[undertow-dev] LoadBalancingProxyClient URI mapping

Stuart Douglas sdouglas at redhat.com
Tue Feb 13 18:50:22 EST 2018


I am not really sure exactly what your question is? What are you trying to
achieve compared to what is actually happening?

Stuart

On Wed, Feb 14, 2018 at 3:18 AM, paroczizs . <paroczizs at gmail.com> wrote:

> 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
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20180214/763684b5/attachment.html 


More information about the undertow-dev mailing list