eligosource / eventsourced

A library for building reliable, scalable and distributed event-sourced applications in Scala
Apache License 2.0
828 stars 98 forks source link

ReliableRequestReplyChannelProps not found. #64

Closed duskhacker closed 11 years ago

duskhacker commented 11 years ago

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.

krasserm commented 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

krasserm commented 11 years ago

Blog post updated. Sorry for the inconvenience.

krasserm commented 11 years ago

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.