Skip to content

Commit

Permalink
Include architecture diagram into documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
krasserm committed Aug 11, 2012
1 parent 1d76e09 commit 4f5b80a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,5 @@
Info Overview
---- --------


This project re-implements [eventsourcing-example](https://github.com/krasserm/eventsourcing-example) based on the Eligosource [Eventsourced](https://github.com/eligosource/eventsourced) library. Regarding library usage, it demonstrates how to This project re-implements [eventsourcing-example](https://github.com/krasserm/eventsourcing-example) based on the Eligosource [Eventsourced](https://github.com/eligosource/eventsourced) library. Regarding library usage, it demonstrates how to


Expand All @@ -11,6 +11,11 @@ This project re-implements [eventsourcing-example](https://github.com/krasserm/e


Compared to the [old implementation](https://github.com/krasserm/eventsourcing-example), the whole service and persistence layer are re-written and domain events are now decoupled from the immutable domain model. The web UI and XML/JSON API remain unchanged and are built on top of [Jersey](http://jersey.java.net/), [Scalate](http://scalate.fusesource.org/) and [JAXB](http://jcp.org/en/jsr/detail?id=222). A [Play](http://www.playframework.org/)-based version will follow (which supports asynchronous responses in contrast to Jersey). Compared to the [old implementation](https://github.com/krasserm/eventsourcing-example), the whole service and persistence layer are re-written and domain events are now decoupled from the immutable domain model. The web UI and XML/JSON API remain unchanged and are built on top of [Jersey](http://jersey.java.net/), [Scalate](http://scalate.fusesource.org/) and [JAXB](http://jcp.org/en/jsr/detail?id=222). A [Play](http://www.playframework.org/)-based version will follow (which supports asynchronous responses in contrast to Jersey).


Architecture
------------

![Architecture](https://raw.github.com/eligosource/eventsourced-example/master/doc/images/invoice-example.png)

Build Build
----- -----


Expand Down
Binary file modified doc/images/invoice-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class PaymentGateway(invoiceComponent: Component) extends Actor {
def receive = { def receive = {
case msg: Message => msg.event match { case msg: Message => msg.event match {
case InvoicePaymentRequested(invoiceId, amount, to) => { case InvoicePaymentRequested(invoiceId, amount, to) => {
// don't use a replay channel but acknowledge immediately // don't use a reply channel but acknowledge immediately
sender ! Ack sender ! Ack


// because payments may take several days to arrive ... // because payments may take several days to arrive ...
Expand Down

0 comments on commit 4f5b80a

Please sign in to comment.