I need to write some in/out interceptors that do something with the incoming or outgoing XML string, but not modifying it for downstream interceptors or the eventual handler. They are basically logging interceptors, like the LoggingOutInterceptor.
How can I write a custom interceptor that can read the XML string, but still let the handler process it normally? It seems like subclassing LoggingOutInterceptor might work, and perhaps setting the "writer" just before calling the "super.handleMessage()" method. I tried this, but the writer ended up with an empty string.
