on the blog "http://saltnlight5.blogspot.se"; there is an example where route
is created as follow

from("timer://timer1?period=1000")
        .process(new Processor() {
            public void process(Exchange msg) {
                LOG.info("Processing {}", msg);
            }
        });



*can i able to do as below, if not then how can i acheive it ?*

from("direct:start").process(new Processor() {
                                        
                                        @Override
                                        public void process(Exchange exchange) 
throws Exception {
                                        System.out.println("control in 
processor");
                                                
                                        }
                                });




--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-called-the-processor-tp5737769p5737774.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to