code: protected void queueSendToWebsocketNB(String msg) {
          if (this.sendProcess.getPendingStepCount() < MAX_MSG_BACKLOG) {
              MySendStep sendStep = new MySendStep(msg);
              this.sendProcess.addStep(sendStep);
          } else {
              log.info("websocket backlog is full; aborting connection: sessionId={}", this.socketSessionId);
  
              this.safeClose();
          }
      }
docs: Send the given message to the
  @param msg