Skip to content
This repository was archived by the owner on Jul 9, 2022. It is now read-only.

OrderProcessing sample

olegz edited this page Jun 23, 2011 · 39 revisions

This example demonstrates a simple flow for imaginary Order Processing system You can see the flow diagram below.

Photobucket

User submits the order via MessagingGateway which needs to be:

  1. validated (proceed or fail)
  2. split if validation is successful (basically separate 'bikes' order from 'books' order)
  3. route order to specific processors ('bikeProcessor' vs 'bookProcessor')
  4. aggregate processing results and send reply back to the user
Clone this wiki locally