Skip to content

Commit

Permalink
Merge pull request #116 from ndeverge/patch-1
Browse files Browse the repository at this point in the history
It remains some Casbah reference.
  • Loading branch information
krasserm committed Jun 23, 2013
2 parents b825def + 047cc00 commit 0158f79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions es-journal/es-journal-mongodb-reactive/readme.md
Expand Up @@ -30,10 +30,9 @@ First, download, install and start a standalone mongoDB instance by following th

libraryDependencies += "org.eligosource" %% "eventsourced-journal-mongodb-reactive" % "0.6-SNAPSHOT"

### Mongodb Casbah Based Journal Initialization
### Mongodb Reactive Based Journal Initialization

import akka.actor._
import com.mongodb.casbah.Imports._
import org.eligosource.eventsourced.core._
import org.eligosource.eventsourced.journal.mongodb.reactive.MongodbReactiveJournalProps

Expand All @@ -42,7 +41,7 @@ First, download, install and start a standalone mongoDB instance by following th
// create and start the reactive based mongoDB journal
val journal: ActorRef = Journal(MongodbReactiveJournalProps(List("localhost:27017"))

// create an event-sourcing extension that uses the Casbah based mongoDB journal
// create an event-sourcing extension that uses the ReactiveMongo based mongoDB journal
val extension = EventsourcingExtension(system, journal)

// ...

0 comments on commit 0158f79

Please sign in to comment.