The NMO ontology defines properties for representing arbitrary mail headers (NMO.messageHeader, .headerName and .headerValue), but the DataObjectFactory only extracts and transforms a given set of headers, namely those that can be mapped to more specific properties.
For our application it would be useful if DataObjectFactory were able to export arbitrary headers using these properties. This can for example be controlled by a single boolean property in the DataSource, or programmatically by a settable "HeaderFilter", similar to javax.swing.filechooser.FileFilter, which decides which headers to represent in the DataObject's metadata. The latter is useful to have as the amount of headers can have a significant impact on the total amount of metadata that is returned.
Log in to post a comment.