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:

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