Package org.apache.camel.processor.interceptor

Examples of org.apache.camel.processor.interceptor.DefaultTraceFormatter


                Tracer tracer = new Tracer();
                tracer.setTraceOutExchanges(true);

                // we configure the default trace formatter where we can
                // specify which fields we want in the output
                DefaultTraceFormatter formatter = new DefaultTraceFormatter();
                formatter.setShowOutBody(true);
                formatter.setShowOutBodyType(true);

                // set to use our formatter
                tracer.setFormatter(formatter);
               
                getContext().addInterceptStrategy(tracer);
View Full Code Here

TOP

Related Classes of org.apache.camel.processor.interceptor.DefaultTraceFormatter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.