code: @Override
      public void xmlWriteOn(FormattedWriter writer) throws IOException
      {
          writer.startTag(XML_MESSAGE_STORE);
          writer.indent();
          synchronized (_startLock)
          {
              if (_state == MessageStoreState.STATE_STARTED)
              {
                  _rootMembership.xmlWriteItemStreamsOn(writer);
              }
              else
              {
                  writer.newLine();
                  writer.write(XML_CANNOT_BE_WRITTEN);
              }
          }
  
          if (null != _itemStorageManager)
          {
              _itemStorageManager.xmlWriteOn(writer);
          }
  
          if (null != _membershipMap)
          {
              _membershipMap.xmlWriteOn(writer);
          }
  
          if (null != _persistentMessageStore)
          {
              _persistentMessageStore.xmlWriteOn(writer);
          }
  
          if (null != _expirer)
          {
              _expirer.xmlWriteOn(writer);
          }
  
          if (null != _cacheLoader)
          {
              _cacheLoader.xmlWriteOn(writer);
          }
  
          if (null != _deliveryDelayManager) {
              _deliveryDelayManager.xmlWriteOn(writer);
          }
          writer.outdent();
          writer.newLine();
          writer.endTag(XML_MESSAGE_STORE);
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.ws.sib.msgstore.MessageStore#writeXmlOn(com.ibm.ws.sib.msgstore.FormatBuffer)