Your query, select * from dual, do not have any query parameters. And therefore the message body is not used.
The code will convert the message body to an iterator, which for a List type will walk each element in the list.
Iterator<?> iterator = exchange.getIn().getBody(Iterator.class);
Thank You for your answer davsclaus.
The problem wasn't the query, because as I said above, It is set into the "process" overrriding the configuration of the route.
The problem was with "date" parameters. I had to change "date objects" by Strings.