I want to trace the exchanges to a JMS queue but what I got is only the
headers!
My code is      :

                Tracer tracer = new Tracer();
                tracer.setDestinationUri("jms:trace");
                tracer.setTraceOutExchanges(true);
                DefaultTraceFormatter formatter = new DefaultTraceFormatter();
                formatter.setShowOutBody(true);
                formatter.setShowOutBodyType(true);
                tracer.setFormatter(formatter);

                //My Route 
                from("jms:sender")
                                .to("jms:receiver");

                // the intercept strategy
                getContext().addInterceptStrategy(tracer);

tracing in the log file is ok (i can see the body of the exchange), but when
i try to do it on the JMS, it doesn't send it over JMS!!

rguig saad
-- 
View this message in context: 
http://old.nabble.com/camel-tracing-%21%21-tp28879854p28879854.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to