Interface SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- SqlStoredEndpointBuilderFactory
public static interface SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the SQL Stored Procedure component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
batch
(boolean batch) Enables or disables batch mode.Enables or disables batch mode.dataSource
(String dataSource) Sets the DataSource to use to communicate with the database.dataSource
(DataSource dataSource) Sets the DataSource to use to communicate with the database.function
(boolean function) Whether this call is for a function.Whether this call is for a function.noop
(boolean noop) If set, will ignore the results of the stored procedure template and use the existing IN message as the OUT message for the continuation of processing.If set, will ignore the results of the stored procedure template and use the existing IN message as the OUT message for the continuation of processing.outputHeader
(String outputHeader) Store the template result in a header instead of the message body.useMessageBodyForTemplate
(boolean useMessageBodyForTemplate) Whether to use the message body as the stored procedure template and then headers for parameters.useMessageBodyForTemplate
(String useMessageBodyForTemplate) Whether to use the message body as the stored procedure template and then headers for parameters.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
batch
Enables or disables batch mode. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
batch
- the value to set- Returns:
- the dsl builder
-
batch
Enables or disables batch mode. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
batch
- the value to set- Returns:
- the dsl builder
-
dataSource
Sets the DataSource to use to communicate with the database. The option is a: <code>javax.sql.DataSource</code> type. Group: producer- Parameters:
dataSource
- the value to set- Returns:
- the dsl builder
-
dataSource
Sets the DataSource to use to communicate with the database. The option will be converted to a <code>javax.sql.DataSource</code> type. Group: producer- Parameters:
dataSource
- the value to set- Returns:
- the dsl builder
-
function
Whether this call is for a function. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
function
- the value to set- Returns:
- the dsl builder
-
function
Whether this call is for a function. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
function
- the value to set- Returns:
- the dsl builder
-
noop
If set, will ignore the results of the stored procedure template and use the existing IN message as the OUT message for the continuation of processing. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
noop
- the value to set- Returns:
- the dsl builder
-
noop
If set, will ignore the results of the stored procedure template and use the existing IN message as the OUT message for the continuation of processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
noop
- the value to set- Returns:
- the dsl builder
-
outputHeader
Store the template result in a header instead of the message body. By default, outputHeader == null and the template 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 template result and the original message body is preserved. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
outputHeader
- the value to set- Returns:
- the dsl builder
-
useMessageBodyForTemplate
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder useMessageBodyForTemplate(boolean useMessageBodyForTemplate) Whether to use the message body as the stored procedure template and then headers for parameters. If this option is enabled then the template in the uri is not used. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
useMessageBodyForTemplate
- the value to set- Returns:
- the dsl builder
-
useMessageBodyForTemplate
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder useMessageBodyForTemplate(String useMessageBodyForTemplate) Whether to use the message body as the stored procedure template and then headers for parameters. If this option is enabled then the template in the uri is not used. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
useMessageBodyForTemplate
- the value to set- Returns:
- the dsl builder
-