Class JdbcInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<JdbcInboundChannelAdapterSpec, JdbcPollingChannelAdapter>
org.springframework.integration.dsl.MessageSourceSpec<JdbcInboundChannelAdapterSpec, JdbcPollingChannelAdapter>
org.springframework.integration.jdbc.dsl.JdbcInboundChannelAdapterSpec
- All Implemented Interfaces:
DisposableBean
,FactoryBean<JdbcPollingChannelAdapter>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class JdbcInboundChannelAdapterSpec
extends MessageSourceSpec<JdbcInboundChannelAdapterSpec, JdbcPollingChannelAdapter>
- Since:
- 7.0
- Author:
- Jiandong Ma, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JdbcInboundChannelAdapterSpec
(JdbcOperations jdbcOperations, String selectQuery) -
Method Summary
Modifier and TypeMethodDescriptionmaxRows
(int maxRows) selectSqlParameterSource
(SqlParameterSource sqlQueryParameterSource) updatePerRow
(boolean updatePerRow) updateSqlParameterSourceFactory
(SqlParameterSourceFactory sqlParameterSourceFactory) Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeaders
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
Methods inherited from interface org.springframework.context.SmartLifecycle
isPauseable
-
Constructor Details
-
JdbcInboundChannelAdapterSpec
-
-
Method Details
-
rowMapper
- Parameters:
rowMapper
- the rowMapper- Returns:
- the spec
- See Also:
-
updateSql
- Parameters:
updateSql
- the updateSql- Returns:
- the spec
- See Also:
-
updatePerRow
- Parameters:
updatePerRow
- the updatePerRow- Returns:
- the spec
- See Also:
-
updateSqlParameterSourceFactory
public JdbcInboundChannelAdapterSpec updateSqlParameterSourceFactory(SqlParameterSourceFactory sqlParameterSourceFactory) - Parameters:
sqlParameterSourceFactory
- the sqlParameterSourceFactory- Returns:
- the spec
- See Also:
-
selectSqlParameterSource
public JdbcInboundChannelAdapterSpec selectSqlParameterSource(SqlParameterSource sqlQueryParameterSource) - Parameters:
sqlQueryParameterSource
- the sqlQueryParameterSource- Returns:
- the spec
- See Also:
-
maxRows
- Parameters:
maxRows
- the maxRows- Returns:
- the spec
- See Also:
-