Closed duskhacker closed 11 years ago
Hi Daniel,
the eventsourced project has been refactored into a multi-module project in the meantime. See also this announcement. The example is now located in the eventsourced-examples module. You can run it under sbt with
> project eventsourced-examples
> run-main org.eligosource.eventsourced.example.CreditCardValidator
in one JVM. I a second JVM run
> project eventsourced-examples
> run-main org.eligosource.eventsourced.example.OrderProcessor
Another change was that the ReliableRequestReply
trait must now be extended explicitly. I'll update the blog post soon.
Cheers, Martin
Blog post updated. Sorry for the inconvenience.
Had to make another change. To use reliable request reply, just import
import org.eligosource.eventsourced.patterns.reliable.requestreply._
and you're done. This should stay now as is.
I cannot seem to get the compiler to recognize this class. I've gone so far as to put the code from http://krasserm.blogspot.com/2013/01/event-sourcing-and-external-service.html, which works fine in the eventsourced tree, into my project, and it still isn't recognized.
I'm using the latest snapshots 2.10 snapshots from http://repo.eligotech.com/nexus/content/repositories/eligosource-snapshots and have accounted for the split into core/journal done recently.
I'm a Scala/Java newb, so I may just be doing something dumb, but it looks like it should work, everything else does.