I'm a newbie and what like to proxy requests upstream but with the following special business logic / functionality:
* Read requests from downstream in their entirety before proxying any part of them upstream, i.e. they need to be queued somehow.
* Once requests are completely read from downstream then business logic decides the order of completely read requests to send upstream or whether the completely read request should be delayed before forwarding upstream. Think prioritize and throttle (but nothing to do with requests per second).
* Completely read requests which are forwarded upstream can be modified before sending, e.g. changing the URL and/or headers.
Is there an existing module which comes close to this functionality? Or does anybody have tips about how to implement this?
Thanks,
Simon