Hi
Yep its a little bug
https://issues.apache.org/jira/browse/CAMEL-7058
On Thu, Dec 5, 2013 at 12:05 PM, Dharmendra Patel
wrote:
> Hi There,
> I think it is a bug.
> in org.apache.camel.component.sql.SqlProducer class code highlighted in
> red(line no 120) could be shifted to line no 92(highlig
Hi There,
I think it is a bug.
in org.apache.camel.component.sql.SqlProducer class code highlighted in
red(line no 120) could be shifted to line no 92(highlighted in green).
else {
boolean isResultSet = ps.execute();
if (isResultSet) {
* // preserve headers
Hi
If SQL_ROW_COUNT header is already set,
SQL Component cannot change SQL_ROW_COUNT header value.
from("direct:test")
.setHeader(SqlConstants.SQL_ROW_COUNT).constant(10)
.to("sql:SELECT * FROM user WHERE FALSE")
.filter(header(SqlConstants.SQL_ROW_COUNT).isEqualTo(10))
.to("log:NG");