Example usage for org.springframework.messaging.simp.stomp ConnectionLostException ConnectionLostException

List of usage examples for org.springframework.messaging.simp.stomp ConnectionLostException ConnectionLostException

Introduction

In this page you can find the example usage for org.springframework.messaging.simp.stomp ConnectionLostException ConnectionLostException.

Prototype

public ConnectionLostException(String message) 

Source Link

Usage

From source file:org.springframework.messaging.simp.stomp.DefaultStompSession.java

@Override
public void afterConnectionClosed() {
    if (logger.isDebugEnabled()) {
        logger.debug("Connection closed in session id=" + this.sessionId);
    }//from   www. j  a v a2  s. co  m
    if (!this.closing) {
        resetConnection();
        handleFailure(new ConnectionLostException("Connection closed"));
    }
}