code: protected SIMPMessage getMessageLocked(int classification) throws MessageStoreException {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "getMessageLocked", Integer.valueOf(classification));
      SIMPMessage msg = null;
      if(!classifyingMessages)
        msg = (SIMPMessage)getDefaultGetCursor().next();
      else
        msg = (SIMPMessage)getGetCursor(classification).next();
      
      if (msg != null)
        msg.setLocalisingME(consumerDispatcher.getMessageProcessor().getMessagingEngineUuid());
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "getMessageLocked", msg);
  
      return msg;
    }
docs: Retrieve the next message using an appropriate cursor.
  
  if the classification parameter is 0 then the default (unclassified) cursor
  will be used.
  
  @param classification
  @return
  @throws MessageStoreException