Interface SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- SpringJdbcEndpointBuilderFactory
public static interface SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the Spring JDBC component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SpringJdbcEndpointBuilderFactory.SpringJdbcEndpointBuilder
basic()
default SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder
beanRowMapper(String beanRowMapper)
To use a custom org.apache.camel.component.jdbc.BeanRowMapper when using outputClass.default SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder
beanRowMapper(org.apache.camel.component.jdbc.BeanRowMapper beanRowMapper)
To use a custom org.apache.camel.component.jdbc.BeanRowMapper when using outputClass.default SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder
connectionStrategy(String connectionStrategy)
To use a custom strategy for working with connections.default SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder
connectionStrategy(org.apache.camel.component.jdbc.ConnectionStrategy connectionStrategy)
To use a custom strategy for working with connections.default SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder
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 SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder
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 SpringJdbcEndpointBuilderFactory.SpringJdbcEndpointBuilder basic()
-
beanRowMapper
default SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder 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 SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder 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 SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder 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 SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder 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 SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder 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 SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder 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
-
-