From Mstor Wiki
Jump to: navigation, search

The concept of metadata was introduced to support JavaMail features not available in the Mbox format. Metadata also serves as fast access message index .

XML Binding

Initially metadata in mstor was implemented via a simple custom XML binding framework. XML metadata can be enabled in three (3) ways:

  • Session properties
Properties properties = new Properties();
properties.setProperty("mstor.mbox.metadataStrategy", "xml");

Session session = Session.getDefaultInstance(properties);

Store store = session.getStore(new URLName("mstor:/some/path/to/store"));

// further store operations..
  • - add the following line to this file in your classpath:
  • System properties
java -Dmstor.mbox.metadataStrategy=xml <your_program>


Support for Yaml metadata

Personal tools