Add `messaging.enabled` flag to MongoContentPersistenceModule