Class JdbcPollingChannelAdapter
java.lang.Object
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.endpoint.AbstractMessageSource<Object>
org.springframework.integration.jdbc.inbound.JdbcPollingChannelAdapter
org.springframework.integration.jdbc.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.
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface IntegrationManagement
IntegrationManagement.ManagementOverrides -
Field Summary
Fields inherited from class AbstractExpressionEvaluator
EXPRESSION_PARSER, loggerFields inherited from interface IntegrationManagement
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME -
Constructor Summary
ConstructorsConstructorDescriptionJdbcPollingChannelAdapter(DataSource dataSource, String selectQuery) Deprecated, for removal: This API element is subject to removal in a future version.Constructor takingDataSourcefrom which the DB Connection can be obtained and the select query to execute to retrieve new rows.JdbcPollingChannelAdapter(JdbcOperations jdbcOperations, String selectQuery) Deprecated, for removal: This API element is subject to removal in a future version.Constructor takingJdbcOperationsinstance to use for query execution and the select query to execute to retrieve new rows. -
Method Summary
Methods inherited from class JdbcPollingChannelAdapter
doPoll, doReceive, getComponentType, onInit, setMaxRows, setRowMapper, setSelectQuery, setSelectSqlParameterSource, setUpdatePerRow, setUpdateSql, setUpdateSqlParameterSourceFactoryMethods inherited from class AbstractMessageSource
buildMessage, destroy, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedTypeMethods inherited from class AbstractExpressionEvaluator
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService, setSimpleEvaluationContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IntegrationManagement
getThisAs, isObserved, registerObservationRegistryMethods inherited from interface MessageSource
getIntegrationPatternTypeMethods inherited from interface NamedComponent
getBeanName
-
Constructor Details
-
JdbcPollingChannelAdapter
Deprecated, for removal: This API element is subject to removal in a future version.Constructor takingDataSourcefrom which the DB Connection can be obtained and the select query to execute to retrieve new rows.- Parameters:
dataSource- Must not be nullselectQuery- query to execute
-
JdbcPollingChannelAdapter
Deprecated, for removal: This API element is subject to removal in a future version.Constructor takingJdbcOperationsinstance to use for query execution and the select query to execute to retrieve new rows.- Parameters:
jdbcOperations- instance to use for query executionselectQuery- query to execute
-
JdbcPollingChannelAdapter