code: public void sendWriteMessage(final String message, final Server server) throws ConnectionNotAvailableException {
          DataConnection connection = server.getConnection();
  
          if (connection == null) {
              throw new ConnectionNotAvailableException(server);
          }
  
          connection.send(message);
  
          server.returnConnection(connection);
      }
docs: Sends a text message (which will probably create a write access) to the Neo4j cluster.
  @param message binary json message (usually json format)
  @param server server that shall be used to send the message
  @throws ConnectionNotAvailableException no connection to server exception