...
You can append query options to the URI in the following format, ?option=value&option=value&...
This component will by default load the iBatis SqlMapConfig file from the root of the classpath and expected named as SqlMapConfig.xml
.
It uses Spring resource loading so you can define it using classpath
, file
or http
as prefix to load resources with those schemes.
In Camel 2.2 you can configure this on the iBatisComponent with the setSqlMapConfig(String)
method.
Options
Option | Type | Default | Description |
---|---|---|---|
| | | Statements to run after consuming. Can be used, for example, to update rows after they have been consumed and processed in Camel. See sample later. Multiple statements can be separated with comma. |
| | | If |
| | | Camel 2.0: Sets whether empty result set should be routed or not. By default, empty result sets are not routed. |
| | | Camel 1.6.1/2.0: Mandatory to specify for IbatisProducer to control which iBatis |
| | | 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. |
...