Above is the working example of simple module configuration. In this configuration example,
one MongoDB connection is created and will be registered into the Akkamo context.
Each configured connection is registered into the Akkamo context as the
eu.akkamo.mongo.MongoApi interface and is available for injection via its name
(e.g. name1), aliases (if defined, e.g. alias1 or alias2), or if defined as
default without any name identifier.
For more details about the URI connection string format, see the
official documentation.
Akkamo module providing support for MongoDB database using the official Scala driver (see http://mongodb.github.io/mongo-scala-driver/).
Example configuration
Above is the working example of simple module configuration. In this configuration example, one MongoDB connection is created and will be registered into the Akkamo context. Each configured connection is registered into the Akkamo context as the eu.akkamo.mongo.MongoApi interface and is available for injection via its name (e.g. name1), aliases (if defined, e.g. alias1 or alias2), or if defined as default without any name identifier.
For more details about the URI connection string format, see the official documentation.