GeoNet/quake-db-client — pull request #2 by gclitheroe (2012-03-06 20:49:34+00:00)
Title: Synchronos flow

The most important change is the flow being synchronous so that the same thread is used from the receiver through the entire flow.

I also added the idempotent receiver here to prevent duplicates. The UID generation will get removed from the quake-varnish project (it can now use the one added here).

I've got a question on the MULE forums about message persistence for synchronous flows (not specified in the docs) http://forum.mulesoft.org/mulesoft/topics/persistent_synchronous_flow

There is still potential for race on the DB among the flow threads. If we decide this needs to be FIFO we can change the flow to use only one thread.