Java org.springframework.integration.jdbc JdbcPollingChannelAdapter fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.integration.jdbc JdbcPollingChannelAdapter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.integration.jdbc JdbcPollingChannelAdapter.

The text is from its open source code.

Constructor

JdbcPollingChannelAdapter(DataSource dataSource, String selectQuery)
Constructor taking DataSource from which the DB Connection can be obtained and the select query to execute to retrieve new rows.
JdbcPollingChannelAdapter(JdbcOperations jdbcOperations, String selectQuery)
Constructor taking JdbcOperations instance to use for query execution and the select query to execute to retrieve new rows.

Method

voidsetMaxRowsPerPoll(int maxRows)
The maximum number of rows to pull out of the query results per poll (if greater than zero, otherwise all rows will be packed into the outgoing message).
voidsetRowMapper(@Nullable RowMapper rowMapper)
voidsetSelectSqlParameterSource(@Nullable SqlParameterSource sqlQueryParameterSource)
A source of parameters for the select query used for polling.
voidsetUpdatePerRow(boolean updatePerRow)
voidsetUpdateSql(String updateSql)