code: static void createMessage(String textMessage, JobInstance jobInstance, DbConn cnx)
      {
          cnx.runUpdate("message_insert", jobInstance.getId(), textMessage);
      }
docs: Create a text message that will be stored in the database. Must be called inside a transaction.