Hi There, For select operations, the returned result is an instance of List<Map<String, Object>> type, as returned by the JdbcTemplate.queryForList() method. For update operations, the result is the number of updated rows, returned as an Integer.
In a processor you can access them as below: List<Map<String, Object>> exchangeBody = exchange.getIn().getBody(List.class); // for select query On Mon, Jan 27, 2014 at 2:40 PM, contactreji <[email protected]> wrote: > Hi > > Can someone tell me in what format are the records returned into the > exchange once camel sql component performs a select query. > > How can I access those values in an implemented Processor class down the > route? > > Cheers > Reji Mathews > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-SQL-compnent-Return-tp5746488.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
