List of usage examples for org.springframework.messaging.tcp TcpConnection close
@Override
void close();
From source file:org.springframework.messaging.simp.stomp.DefaultStompSession.java
private void resetConnection() { TcpConnection<?> conn = this.connection; this.connection = null; if (conn != null) { try {//from w ww . j a va2 s. c om conn.close(); } catch (Throwable ex) { // ignore } } }