mirror of https://github.com/apache/activemq.git
This commit is contained in:
parent
ae1da749b7
commit
0f09f78f3e
|
@ -44,6 +44,7 @@ class StompSocket extends TransportSupport implements WebSocket.OnTextMessage, S
|
||||||
ProtocolConverter protocolConverter = new ProtocolConverter(this, null);
|
ProtocolConverter protocolConverter = new ProtocolConverter(this, null);
|
||||||
StompWireFormat wireFormat = new StompWireFormat();
|
StompWireFormat wireFormat = new StompWireFormat();
|
||||||
private final CountDownLatch socketTransportStarted = new CountDownLatch(1);
|
private final CountDownLatch socketTransportStarted = new CountDownLatch(1);
|
||||||
|
private StompInactivityMonitor stompInactivityMonitor = new StompInactivityMonitor(this, wireFormat);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onOpen(Connection connection) {
|
public void onOpen(Connection connection) {
|
||||||
|
@ -123,7 +124,7 @@ class StompSocket extends TransportSupport implements WebSocket.OnTextMessage, S
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public StompInactivityMonitor getInactivityMonitor() {
|
public StompInactivityMonitor getInactivityMonitor() {
|
||||||
return null;
|
return stompInactivityMonitor;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue