blob: e0943e325dc4a790d34542d258b0c47d9ee2a2d4 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.mybatis.CamelMybatisSinkConnector",
"artifactId": "camel-mybatis-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-mybatis-sink",
"type": "sink",
"version": "0.7.0",
"description": "Performs a query, poll, insert, update or delete in a relational database using MyBatis."
},
"properties": {
"camel.sink.path.statement": {
"name": "camel.sink.path.statement",
"description": "The statement name in the MyBatis XML mapping file which maps to the query, insert, update or delete operation you wish to evaluate.",
"priority": "HIGH",
"required": "true"
},
"camel.sink.endpoint.executorType": {
"name": "camel.sink.endpoint.executorType",
"description": "The executor type to be used while executing statements. simple - executor does nothing special. reuse - executor reuses prepared statements. batch - executor reuses statements and batches updates. One of: [SIMPLE] [REUSE] [BATCH]",
"defaultValue": "\"SIMPLE\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"SIMPLE",
"REUSE",
"BATCH"
]
},
"camel.sink.endpoint.inputHeader": {
"name": "camel.sink.endpoint.inputHeader",
"description": "User the header value for input parameters instead of the message body. By default, inputHeader == null and the input parameters are taken from the message body. If outputHeader is set, the value is used and query parameters will be taken from the header instead of the body.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.lazyStartProducer": {
"name": "camel.sink.endpoint.lazyStartProducer",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.outputHeader": {
"name": "camel.sink.endpoint.outputHeader",
"description": "Store the query result in a header instead of the message body. By default, outputHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. Setting outputHeader will also omit populating the default CamelMyBatisResult header since it would be the same as outputHeader all the time.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.statementType": {
"name": "camel.sink.endpoint.statementType",
"description": "Mandatory to specify for the producer to control which kind of operation to invoke. One of: [SelectOne] [SelectList] [Insert] [InsertList] [Update] [UpdateList] [Delete] [DeleteList]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"SelectOne",
"SelectList",
"Insert",
"InsertList",
"Update",
"UpdateList",
"Delete",
"DeleteList"
]
},
"camel.sink.endpoint.synchronous": {
"name": "camel.sink.endpoint.synchronous",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.mybatis.configurationUri": {
"name": "camel.component.mybatis.configurationUri",
"description": "Location of MyBatis xml configuration file. The default value is: SqlMapConfig.xml loaded from the classpath",
"defaultValue": "\"SqlMapConfig.xml\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.mybatis.lazyStartProducer": {
"name": "camel.component.mybatis.lazyStartProducer",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.mybatis.autowiredEnabled": {
"name": "camel.component.mybatis.autowiredEnabled",
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.mybatis.sqlSessionFactory": {
"name": "camel.component.mybatis.sqlSessionFactory",
"description": "To use the SqlSessionFactory",
"priority": "MEDIUM",
"required": "false"
}
}
}