Class JdbcOutboundGateway

All Implemented Interfaces:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ExpressionCapable, Orderable, MessageProducer, HeaderPropagationAware, IntegrationPattern, NamedComponent, IntegrationManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>

public class JdbcOutboundGateway extends AbstractReplyProducingMessageHandler
Since:
2.0
Author:
Dave Syer, Gunnar Hillert, Artem Bilan, Gary Russell
  • Constructor Details

    • JdbcOutboundGateway

      public JdbcOutboundGateway(DataSource dataSource, String updateQuery)
      Construct an instance based on the provided DataSource and update SQL.
      Parameters:
      dataSource - the DataSource for execution.
      updateQuery - the query to execute.
    • JdbcOutboundGateway

      public JdbcOutboundGateway(DataSource dataSource, String updateQuery, String selectQuery)
      Construct an instance based on the provided DataSource, select and update SQLs.
      Parameters:
      dataSource - the DataSource for execution.
      updateQuery - the update to execute.
      selectQuery - the select to execute.
    • JdbcOutboundGateway

      public JdbcOutboundGateway(JdbcOperations jdbcOperations, String updateQuery)
      Construct an instance based on the provided JdbcOperations and update SQL.
      Parameters:
      jdbcOperations - the JdbcOperations for execution.
      updateQuery - the query to execute.
    • JdbcOutboundGateway

      public JdbcOutboundGateway(JdbcOperations jdbcOperations, String updateQuery, String selectQuery)
      Construct an instance based on the provided JdbcOperations, select and update SQLs.
      Parameters:
      jdbcOperations - the JdbcOperations for execution.
      updateQuery - the update to execute.
      selectQuery - the select to execute.
  • Method Details