void ITransportEventHandler.OnDataReceived(string rawMessage) { _logger.ServerFrame(rawMessage); IStompFrame frame; try { frame = _wireFormat.ReadFrame(rawMessage); } catch (StompWireFormatException e) { _logger.Error("Protocol error", e); return; } catch (Exception e) { _logger.Error("Failed to decode incoming message", e); return; } OnMessageReceived(frame); }