<div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to run the websockets example with undertow-core-1.0.0.Beta18 but it doesn&#39;t seem to work. </div><div>I simplified the code:</div><div><br></div><div><div>public class WebSocketServer {</div>
<div>    public static void main(final String[] args) {</div><div>        Undertow.builder().addListener(8080, &quot;localhost&quot;).setHandler(path().addPath(&quot;/myapp&quot;, websocket(new WebSocketConnectionCallback() {</div>
<div>            @Override</div><div>            public void onConnect(WebSocketHttpExchange exchange, WebSocketChannel channel) {</div><div>                System.out.println(&quot;**** onConnect ********&quot;);</div><div>
                channel.getReceiveSetter().set(new AbstractReceiveListener() {</div><div>                    @Override</div><div>                    protected void onFullTextMessage(WebSocketChannel channel, BufferedTextMessage message) {</div>
<div>                        System.out.println(&quot;**** onFullTextMessage ********&quot;);</div><div>                        WebSockets.sendText(message.getData(), channel, null);</div><div>                    }</div><div>
                });</div><div>            }</div><div>        }))).build().start();</div><div>    }</div><div>}</div></div><div><br></div><div>Although the &quot;OnConnect&quot; handler is called, the &quot;onFullTextMessage&quot; is never called.</div>
<div>Do someone know why ?</div><div><br></div><div>Thanks</div><div>Eitan</div><div><div><br></div></div></div>