You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ben Fortuna edited this page Mar 6, 2017
·
1 revision
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"));
store.connect();
// further store operations..
mstor.properties - add the following line to this file in your classpath: