proposed websocket fix

This commit is contained in:
Christopher L. Shannon (cshannon) 2016-11-03 08:41:37 -04:00
parent 7cf7fba7aa
commit 946c9454d5
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ public class StompSocket extends AbstractStompSocket implements WebSocketListene
@Override @Override
public void sendToStomp(StompFrame command) throws IOException { public void sendToStomp(StompFrame command) throws IOException {
session.getRemote().sendString(command.format()); //Send async - do we need to wait for the future to complete?
session.getRemote().sendStringByFuture(command.format());
} }
@Override @Override