} else {
this.query.setStartTime(System.currentTimeMillis() - getDelay());
}
//proceed with query
final Result result = query.execute();
LOG.trace("Processing exchange [{}]...", exchange);
try {
getProcessor().process(exchange);
} finally {
if (exchange.getException() != null) {
getExceptionHandler().handleException("Error processing exchange", exchange, exchange.getException());
}
}
return Long.valueOf(result.getOffset()).intValue();
}