How do I add a MongoDB data source to Orbeon CE? I have been browsing through all the xml config files without any luck and the Orbeon documentation doesn\'t help very much.
First note that support for MongoDB is at this point very much experimental. It is implemented as a servlet in MongoDBPersistence.scala, so you'll want to:
web.xml
declare that servlet in a <servlet>
, and map /fr/service/mongo/*
to that servlet with a <servlet-mapping>
.<property as="xs:string" name="oxf.fr.persistence.provider.*.*.*" value="mongo"/>
.<property as="xs:anyURI" name="oxf.fr.persistence.mongo.uri" value="/fr/service/mongo"/>
.