code: public Message receiveRemoteMessage() throws RemoteException
      {
          Utility.getLogger().info("EJB receiveMessage (waiting)");
          Message message = this.getMessageStack().receiveMessage();
          Utility.getLogger().info("EJB receiveMessage (returning) " + message);
          return message;
      }
docs: Process the receive message call.
  pend(don) NOTE: This will not work as an EJB, because the receiveMessage call blocks.
  pend(don) Where is an RMI timeout handled? here?