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 Detail

      • beanRowMapper

        default SpringJdbcEndpointBuilderFactory.AdvancedSpringJdbcEndpointBuilder beanRowMapper​(Object 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​(Object 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​(Object 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