Done,

in.body is still null.

Route :
---------
from("timer://?repeatCount=1").bean(MyService.class)

Bean
--------
public class MyService {

 @Consume(uri = "sql: select codaz, codbus, logmsg from bus.buslogger where
loglev = 'STS_CFG'?dataSource=#dataSource.nagios")
    public void process(Exchange exchange) {
        System.out.println("wait");
    }
}

I attached a screenshot, so you can see debug.




-----
kh
--
View this message in context: 
http://camel.465427.n5.nabble.com/Pojo-Consumer-Annotation-tp5768168p5768320.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to