doc.put("destination", message.getDestination());
doc.put("reference", message.getReference());
doc.put("modificationTime", message.getModificationTime());
doc.put("properties", message.getProperties());
col.update(idObject, doc);
}
@Override
public void updateStatus(MessageCriteria criteria, byte newStatus) throws StoreException {
if (mongo == null) throw new IllegalStateException("No mongo specified");