[undertow-dev] WebSocket Proxying

Stuart Douglas sdouglas at redhat.com
Thu Apr 21 18:55:31 EDT 2016


Undertow can indeed handle this. Basically after the upgrade the
reverse proxy just forwards data to the selected backend server, and
forwards data back to the client (the proxy does not parse the
websocket protocol, as it does not need to).

The easiest way to see this in action is probably by combining our
reverse proxy and websocket examples. If you run the testsuite with
-Pproxy it will run all the tests (including websocket tests) through
a reverse proxy.

Stuart





On Fri, Apr 22, 2016 at 6:40 AM, Tobias Verbeke
<tobias.verbeke at openanalytics.eu> wrote:
> Hello,
>
> I discovered undertow earlier today and its intro page mentions 'Web Sockets' and 'Reverse Proxy' as features.
>
> According to Google and SO there is currently no Java technology that can do Web Socket proxying.
>
> One such post is the following:
>
> http://stackoverflow.com/questions/22262468/jetty-websocket-proxying
>
> Do you think undertow would be up to the task? Has anyone relevant experience?
>
> Many thanks in advance for any pointer.
>
> Best,
> Tobias
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list