Hey,

I am currently taking a look at undertow in order to write a small proxy (which is dead easy), that should log the incoming request into another data sink, then forward the request to the proxy, receive the response and log some parts of the JSON response (together with the request data) into that data sink plus forwarding it back to client.

Just reading the input stream in a special proxy handler does not seem to work, so I guess there is a much smarter solution, like one of the listeners I could add to an exchange.

Any help is highly appreciated. Thanks a lot!


--Alex