Class JdbcOutboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<JdbcOutboundGatewaySpec, JdbcOutboundGateway>
org.springframework.integration.dsl.MessageHandlerSpec<JdbcOutboundGatewaySpec, JdbcOutboundGateway>
org.springframework.integration.jdbc.dsl.JdbcOutboundGatewaySpec
- All Implemented Interfaces:
DisposableBean
,FactoryBean<JdbcOutboundGateway>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class JdbcOutboundGatewaySpec
extends MessageHandlerSpec<JdbcOutboundGatewaySpec, JdbcOutboundGateway>
- 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
JdbcOutboundGatewaySpec
(JdbcOperations jdbcOperations, String updateQuery, @Nullable String selectQuery) -
Method Summary
Modifier and TypeMethodDescriptionkeysGenerated
(boolean keysGenerated) replySqlParameterSourceFactory
(SqlParameterSourceFactory sqlParameterSourceFactory) requestPreparedStatementSetter
(MessagePreparedStatementSetter preparedStatementSetter) requestSqlParameterSourceFactory
(SqlParameterSourceFactory sqlParameterSourceFactory) 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
-
JdbcOutboundGatewaySpec
protected JdbcOutboundGatewaySpec(JdbcOperations jdbcOperations, String updateQuery, @Nullable String selectQuery)
-
-
Method Details
-
maxRows
- Parameters:
maxRows
- the maxRows- Returns:
- the spec
- See Also:
-
keysGenerated
- Parameters:
keysGenerated
- the keysGenerated- Returns:
- the spec
- See Also:
-
requestSqlParameterSourceFactory
public JdbcOutboundGatewaySpec requestSqlParameterSourceFactory(SqlParameterSourceFactory sqlParameterSourceFactory) - Parameters:
sqlParameterSourceFactory
- the sqlParameterSourceFactory- Returns:
- the spec
- See Also:
-
requestPreparedStatementSetter
public JdbcOutboundGatewaySpec requestPreparedStatementSetter(MessagePreparedStatementSetter preparedStatementSetter) - Parameters:
preparedStatementSetter
- the preparedStatementSetter- Returns:
- the spec
- See Also:
-
replySqlParameterSourceFactory
public JdbcOutboundGatewaySpec replySqlParameterSourceFactory(SqlParameterSourceFactory sqlParameterSourceFactory) - Parameters:
sqlParameterSourceFactory
- the sqlQueryParameterSource- Returns:
- the spec
- See Also:
-
rowMapper
- Parameters:
rowMapper
- the rowMapper- Returns:
- the spec
- See Also:
-