mirror of https://github.com/apache/activemq.git
proposed websocket fix
This commit is contained in:
parent
7cf7fba7aa
commit
946c9454d5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue