I'm using this in a pojo :

@Consume(uri = "sql: select codaz, codbus, logmsg from bus.buslogger where
loglev = 'STS_CFG' and (logmsg like 'V60%' or logmsg like 'V65%') and
instr(logmsg,'UNREACHABLE') = 0 and instr(logmsg,'UNKNOWN') = 0 and
substring(scriptver,instr(scriptver,'=')+1) >= '2.2.0' and codaz != 0 and
codbus = 6037 order by daterecv asc , hourrecv asc
?dataSource=#dataSource.nagios&consumer.useIterator=false&consumer.routeEmptyResultSet=true&outputClass=it.sad.batch.eam.transfer.obliRelease.ObliReleaseResult&consumer.bridgeErrorHandler=true")
public void process(Object body) {
     System.out.println("hello");
}
But body object in process method is null.
Do i something wrong or misunderstood the use of @Consumer ?

thanks
Karlheinz



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

Reply via email to