code: @Override
      public void set(final String messageID, final XMLObject message) {
          log.debug("Storing message {} to session {}", messageID, context.getSessionStore().getOrCreateSessionId(context));
          final LinkedHashMap<String, XMLObject> messages = getMessages();
          messages.put(messageID, message);
          updateSession(messages);
      }
docs: Stores a request message into the repository. RequestAbstractType must have an ID
  set. Any previous message with the same ID will be overwritten.
  
  @param messageID ID of message
  @param message   message to be stored