Interface JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- JdbcEndpointBuilderFactory
public static interface JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the JDBC component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default JdbcEndpointBuilderFactory.JdbcEndpointBuilder
basic()
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder
beanRowMapper(String beanRowMapper)
To use a custom org.apache.camel.component.jdbc.BeanRowMapper when using outputClass.default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder
beanRowMapper(org.apache.camel.component.jdbc.BeanRowMapper beanRowMapper)
To use a custom org.apache.camel.component.jdbc.BeanRowMapper when using outputClass.default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder
connectionStrategy(String connectionStrategy)
To use a custom strategy for working with connections.default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder
connectionStrategy(org.apache.camel.component.jdbc.ConnectionStrategy connectionStrategy)
To use a custom strategy for working with connections.default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder
prepareStatementStrategy(String prepareStatementStrategy)
Allows the plugin to use a custom org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy to control preparation of the query and prepared statement.default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder
prepareStatementStrategy(org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy prepareStatementStrategy)
Allows the plugin to use a custom org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy to control preparation of the query and prepared statement.
-
-
-
Method Detail
-
basic
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder basic()
-
beanRowMapper
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder beanRowMapper(org.apache.camel.component.jdbc.BeanRowMapper beanRowMapper)
To use a custom org.apache.camel.component.jdbc.BeanRowMapper when using outputClass. The default implementation will lower case the row names and skip underscores, and dashes. For example CUST_ID is mapped as custId. The option is a: <code>org.apache.camel.component.jdbc.BeanRowMapper</code> type. Group: advanced- Parameters:
beanRowMapper
- the value to set- Returns:
- the dsl builder
-
beanRowMapper
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder beanRowMapper(String beanRowMapper)
To use a custom org.apache.camel.component.jdbc.BeanRowMapper when using outputClass. The default implementation will lower case the row names and skip underscores, and dashes. For example CUST_ID is mapped as custId. The option will be converted to a <code>org.apache.camel.component.jdbc.BeanRowMapper</code> type. Group: advanced- Parameters:
beanRowMapper
- the value to set- Returns:
- the dsl builder
-
connectionStrategy
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder connectionStrategy(org.apache.camel.component.jdbc.ConnectionStrategy connectionStrategy)
To use a custom strategy for working with connections. Do not use a custom strategy when using the spring-jdbc component because a special Spring ConnectionStrategy is used by default to support Spring Transactions. The option is a: <code>org.apache.camel.component.jdbc.ConnectionStrategy</code> type. Group: advanced- Parameters:
connectionStrategy
- the value to set- Returns:
- the dsl builder
-
connectionStrategy
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder connectionStrategy(String connectionStrategy)
To use a custom strategy for working with connections. Do not use a custom strategy when using the spring-jdbc component because a special Spring ConnectionStrategy is used by default to support Spring Transactions. The option will be converted to a <code>org.apache.camel.component.jdbc.ConnectionStrategy</code> type. Group: advanced- Parameters:
connectionStrategy
- the value to set- Returns:
- the dsl builder
-
prepareStatementStrategy
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder prepareStatementStrategy(org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy prepareStatementStrategy)
Allows the plugin to use a custom org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy to control preparation of the query and prepared statement. The option is a: <code>org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy</code> type. Group: advanced- Parameters:
prepareStatementStrategy
- the value to set- Returns:
- the dsl builder
-
prepareStatementStrategy
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder prepareStatementStrategy(String prepareStatementStrategy)
Allows the plugin to use a custom org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy to control preparation of the query and prepared statement. The option will be converted to a <code>org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy</code> type. Group: advanced- Parameters:
prepareStatementStrategy
- the value to set- Returns:
- the dsl builder
-
-