SQL Endpoint. Endpoint URI should contain valid SQL statement, but instead of
question marks (that are parameter placeholders), sharp signs should be used.
This is because in camel question mark has other meaning.
Name |
Type |
Description |
breakBatchOnConsumeFail |
boolean |
Sets whether to break batch if onConsume failed. |
expectedUpdateCount |
int |
Sets an expected update count to validate when using onConsume.
@param expectedUpdateCount typically set this value to 1 to expect 1 row updated. |
onConsume |
java.lang.String |
Sets a SQL to execute when the row has been successfully processed. |
onConsumeBatchComplete |
java.lang.String |
|
onConsumeFailed |
java.lang.String |
Sets a SQL to execute when the row failed being processed. |
routeEmptyResultSet |
boolean |
Sets whether empty resultset should be allowed to be sent to the next hop.
defaults to false. So the empty resultset will be filtered out. |
useIterator |
boolean |
Sets how resultset should be delivered to route.
Indicates delivery as either a list or individual object.
defaults to true. |