Merge branch 'master' of git@github.com:jboner/akka
This commit is contained in:
commit
6ab4b48166
3 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@
|
|||
<dependency>
|
||||
<groupId>com.mongodb</groupId>
|
||||
<artifactId>mongo</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- For Cassandra -->
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@ private[akka] object MongoStorageBackend extends
|
|||
val MONGODB_SERVER_DBNAME = config.getString("akka.storage.mongodb.dbname", "testdb")
|
||||
val MONGODB_SERVER_PORT = config.getInt("akka.storage.mongodb.port", 27017)
|
||||
|
||||
val db = new Mongo(MONGODB_SERVER_HOSTNAME, MONGODB_SERVER_PORT, MONGODB_SERVER_DBNAME)
|
||||
val coll = db.getCollection(COLLECTION)
|
||||
val db = new Mongo(MONGODB_SERVER_HOSTNAME, MONGODB_SERVER_PORT)
|
||||
val coll = db.getDB(MONGODB_SERVER_DBNAME).getCollection(COLLECTION)
|
||||
|
||||
// FIXME: make this pluggable
|
||||
private[this] val serializer = SJSON
|
||||
|
|
|
|||
BIN
embedded-repo/com/mongodb/mongo/1.0/mongo-1.0.jar
Normal file
BIN
embedded-repo/com/mongodb/mongo/1.0/mongo-1.0.jar
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue