Class LoggingStreamInterceptor

  • All Implemented Interfaces:
    StreamInterceptor

    public class LoggingStreamInterceptor
    extends DefaultStreamInterceptor
    Sample stream interceptor, which intercepts source and target request to print the stream passing via the engine.
     
     <interceptors xmlns:svns="http://org.wso2.securevault/configuration">
         <interceptor class="org.apache.synapse.transport.passthru.LoggingStreamInterceptor">
             <parameter name="charset" value="ISO-8859-1"/>
             <parameter name="enableInterception" value="true"/>
         </interceptor>
     </interceptors>