{
	"connector": {
		"class": "org.apache.camel.kafkaconnector.sql.CamelSqlSinkConnector",
		"artifactId": "camel-sql-kafka-connector",
		"groupId": "org.apache.camel.kafkaconnector",
		"id": "camel-sql-sink",
		"type": "sink",
		"version": "0.6.1"
	},
	"properties": {
		"camel.sink.path.query": {
			"name": "camel.sink.path.query",
			"description": "Sets the SQL query to perform. You can externalize the query by using file: or classpath: as prefix and specify the location of the file.",
			"priority": "HIGH",
			"required": "true"
		},
		"camel.sink.endpoint.allowNamedParameters": {
			"name": "camel.sink.endpoint.allowNamedParameters",
			"description": "Whether to allow using named parameters in the queries.",
			"defaultValue": "true",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.dataSource": {
			"name": "camel.sink.endpoint.dataSource",
			"description": "Sets the DataSource to use to communicate with the database.",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.dataSourceRef": {
			"name": "camel.sink.endpoint.dataSourceRef",
			"description": "Sets the reference to a DataSource to lookup from the registry, to use for communicating with the database.",
			"priority": "LOW",
			"required": "false"
		},
		"camel.sink.endpoint.outputClass": {
			"name": "camel.sink.endpoint.outputClass",
			"description": "Specify the full package and class name to use as conversion when outputType=SelectOne.",
			"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.",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.outputType": {
			"name": "camel.sink.endpoint.outputType",
			"description": "Make the output of consumer or producer to SelectList as List of Map, or SelectOne as single Java object in the following way: a) If the query has only single column, then that JDBC Column object is returned. (such as SELECT COUNT( ) FROM PROJECT will return a Long object. b) If the query has more than one column, then it will return a Map of that result. c) If the outputClass is set, then it will convert the query result into an Java bean object by calling all the setters that match the column names. It will assume your class has a default constructor to create instance with. d) If the query resulted in more than one rows, it throws an non-unique result exception. StreamList streams the result of the query using an Iterator. This can be used with the Splitter EIP in streaming mode to process the ResultSet in streaming fashion. One of: [SelectOne] [SelectList] [StreamList]",
			"defaultValue": "\"SelectList\"",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.separator": {
			"name": "camel.sink.endpoint.separator",
			"description": "The separator to use when parameter values is taken from message body (if the body is a String type), to be inserted at # placeholders. Notice if you use named parameters, then a Map type is used instead. The default value is comma",
			"defaultValue": "\",\"",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.batch": {
			"name": "camel.sink.endpoint.batch",
			"description": "Enables or disables batch mode",
			"defaultValue": "false",
			"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.noop": {
			"name": "camel.sink.endpoint.noop",
			"description": "If set, will ignore the results of the SQL query and use the existing IN message as the OUT message for the continuation of processing",
			"defaultValue": "false",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.useMessageBodyForSql": {
			"name": "camel.sink.endpoint.useMessageBodyForSql",
			"description": "Whether to use the message body as the SQL and then headers for parameters. If this option is enabled then the SQL in the uri is not used. Note that query parameters in the message body are represented by a question mark instead of a # symbol.",
			"defaultValue": "false",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.alwaysPopulateStatement": {
			"name": "camel.sink.endpoint.alwaysPopulateStatement",
			"description": "If enabled then the populateStatement method from org.apache.camel.component.sql.SqlPrepareStatementStrategy is always invoked, also if there is no expected parameters to be prepared. When this is false then the populateStatement is only invoked if there is 1 or more expected parameters to be set; for example this avoids reading the message body\/headers for SQL queries with no parameters.",
			"defaultValue": "false",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.basicPropertyBinding": {
			"name": "camel.sink.endpoint.basicPropertyBinding",
			"description": "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities",
			"defaultValue": "false",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.parametersCount": {
			"name": "camel.sink.endpoint.parametersCount",
			"description": "If set greater than zero, then Camel will use this count value of parameters to replace instead of querying via JDBC metadata API. This is useful if the JDBC vendor could not return correct parameters count, then user may override instead.",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.placeholder": {
			"name": "camel.sink.endpoint.placeholder",
			"description": "Specifies a character that will be replaced to in SQL query. Notice, that it is simple String.replaceAll() operation and no SQL parsing is involved (quoted strings will also change).",
			"defaultValue": "\"#\"",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.prepareStatementStrategy": {
			"name": "camel.sink.endpoint.prepareStatementStrategy",
			"description": "Allows to plugin to use a custom org.apache.camel.component.sql.SqlPrepareStatementStrategy to control preparation of the query and prepared statement.",
			"priority": "MEDIUM",
			"required": "false"
		},
		"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.sink.endpoint.templateOptions": {
			"name": "camel.sink.endpoint.templateOptions",
			"description": "Configures the Spring JdbcTemplate with the key\/values from the Map",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.sink.endpoint.usePlaceholder": {
			"name": "camel.sink.endpoint.usePlaceholder",
			"description": "Sets whether to use placeholder and replace all placeholder characters with sign in the SQL queries.",
			"defaultValue": "true",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.component.sql.dataSource": {
			"name": "camel.component.sql.dataSource",
			"description": "Sets the DataSource to use to communicate with the database.",
			"priority": "MEDIUM",
			"required": "false"
		},
		"camel.component.sql.lazyStartProducer": {
			"name": "camel.component.sql.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.sql.basicPropertyBinding": {
			"name": "camel.component.sql.basicPropertyBinding",
			"description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities",
			"defaultValue": "false",
			"priority": "LOW",
			"required": "false"
		},
		"camel.component.sql.usePlaceholder": {
			"name": "camel.component.sql.usePlaceholder",
			"description": "Sets whether to use placeholder and replace all placeholder characters with sign in the SQL queries. This option is default true",
			"defaultValue": "true",
			"priority": "MEDIUM",
			"required": "false"
		}
	}
}