Message-oriented interface to MongoDB