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
All Methods Instance Methods Default Methods Modifier and Type Method Description default SqlStoredEndpointBuilderFactory.AdvancedSqlStoredEndpointBuilder
advanced()
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
batch(boolean batch)
Enables or disables batch mode.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
batch(String batch)
Enables or disables batch mode.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
dataSource(String dataSource)
Sets the DataSource to use to communicate with the database.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
dataSource(DataSource dataSource)
Sets the DataSource to use to communicate with the database.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
function(boolean function)
Whether this call is for a function.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
function(String function)
Whether this call is for a function.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
noop(boolean noop)
If set, will ignore the results of the template and use the existing IN message as the OUT message for the continuation of processing.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
noop(String noop)
If set, will ignore the results of the template and use the existing IN message as the OUT message for the continuation of processing.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
outputHeader(String outputHeader)
Store the template result in a header instead of the message body.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
useMessageBodyForTemplate(boolean useMessageBodyForTemplate)
Whether to use the message body as the template and then headers for parameters.default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
useMessageBodyForTemplate(String useMessageBodyForTemplate)
Whether to use the message body as the template and then headers for parameters.
-
-
-
Method Detail
-
advanced
default SqlStoredEndpointBuilderFactory.AdvancedSqlStoredEndpointBuilder advanced()
-
batch
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder batch(boolean 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
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder batch(String 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
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder dataSource(DataSource 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
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder dataSource(String 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
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder function(boolean 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
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder function(String 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
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder noop(boolean noop)
If set, will ignore the results of the 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
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder noop(String noop)
If set, will ignore the results of the 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
default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder outputHeader(String 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 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 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
-
-