Class JdbcPollingChannelAdapter

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, MessageSource<Object>, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement

@Deprecated(forRemoval=true, since="7.0") public class JdbcPollingChannelAdapter extends JdbcPollingChannelAdapter
Deprecated, for removal: This API element is subject to removal in a future version.
since 7.0 in favor of JdbcPollingChannelAdapter
A polling channel adapter that creates messages from the payload returned by executing a select query. Optionally an update can be executed after the select in order to update processed rows.
Since:
2.0
Author:
Jonas Partner, Dave Syer, Artem Bilan
  • Constructor Details

    • JdbcPollingChannelAdapter

      public JdbcPollingChannelAdapter(DataSource dataSource, String selectQuery)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor taking DataSource from which the DB Connection can be obtained and the select query to execute to retrieve new rows.
      Parameters:
      dataSource - Must not be null
      selectQuery - query to execute
    • JdbcPollingChannelAdapter

      public JdbcPollingChannelAdapter(JdbcOperations jdbcOperations, String selectQuery)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor taking JdbcOperations instance to use for query execution and the select query to execute to retrieve new rows.
      Parameters:
      jdbcOperations - instance to use for query execution
      selectQuery - query to execute