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:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<JdbcPollingChannelAdapter>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
public class JdbcInboundChannelAdapterSpec
extends org.springframework.integration.dsl.MessageSourceSpec<JdbcInboundChannelAdapterSpec, JdbcPollingChannelAdapter>
A
MessageSourceSpec for a JdbcInboundChannelAdapterSpec.- Since:
- 7.0
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJdbcInboundChannelAdapterSpec(org.springframework.jdbc.core.JdbcOperations jdbcOperations, String selectQuery) -
Method Summary
Modifier and TypeMethodDescriptionmaxRows(int maxRows) rowMapper(org.springframework.jdbc.core.RowMapper<?> rowMapper) selectSqlParameterSource(org.springframework.jdbc.core.namedparam.SqlParameterSource sqlQueryParameterSource) updatePerRow(boolean updatePerRow) updateSqlParameterSourceFactory(SqlParameterSourceFactory sqlParameterSourceFactory) Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeadersMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
JdbcInboundChannelAdapterSpec
protected JdbcInboundChannelAdapterSpec(org.springframework.jdbc.core.JdbcOperations jdbcOperations, String selectQuery)
-
-
Method Details
-
rowMapper
public JdbcInboundChannelAdapterSpec rowMapper(org.springframework.jdbc.core.RowMapper<?> 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(org.springframework.jdbc.core.namedparam.SqlParameterSource sqlQueryParameterSource) - Parameters:
sqlQueryParameterSource- the sqlQueryParameterSource- Returns:
- the spec
- See Also:
-
maxRows
- Parameters:
maxRows- the maxRows- Returns:
- the spec
- See Also:
-