A Postprocessor runs a message through several stages before
dequeueing it. In a diagram:
+-------------------------------------------+
|Postprocessor |
put() |+---------+ +------+ +------+ +------+ take()
------>|Channel |-->|Stage1|--->|Stage2|-->|Stage3|----->
|+---------+ +------+ +------+ +------+
+-------------------------------------------+
Use a Postprocessor when it does not make sense to put any kind of
(asynchronous) buffering between plumbing and it is acceptable for
PostProcessor.take() to take a long time (no pun intended).
author: Leo Simons version: $Id: PostProcessor.java,v 1.2 2004/03/23 13:37:58 lsimons Exp $ |