...
Option | Type | Default | Description |
---|---|---|---|
consumer.onConsume | String | null | Statements to run after consuming. Can be used to eg. update rows after they have been consumed and processed in Camel. See sample later. Multiple statements can be separated with comma. |
consumer.useIterator | Boolean | true | If true each row returned when polling will be processed individually. If false the entire List of data is set as the IN body. |
consumer.routeEmptyResultSet | Boolean | false | Camel 2.0: Sets whether empty resultset should be routed or not. By default empty result sets are not routed. |
statementType | StatementType | null | Camel 1.6.1/2.0: Mandatory to specify for IbatisProducer to control which iBatis |
maxMessagesPerPoll | Integer | 0 | Camel 2.0: An integer to define a maximum messages to gather per poll. By default no maximum is set. Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Set a value of 0 or negative to disabled it. |
Message Headers
Camel will populate the result message, either IN or OUT with a header with the operationName used:
...