Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1 KB

File metadata and controls

26 lines (14 loc) · 1 KB

Jdbc Consumer

A consumer that allows you to insert records into a relational database. The consumer uses the JdbcMessageHandler from Spring Integration.

Beans for injection

You can import JdbcConsumerConfiguration in the application and then inject the following bean.

Consumer<Message<?>> jdbcConsumer

You can use jdbcConsumer as a qualifier when injecting.

Configuration Options

All configuration properties are prefixed with jdbc.consumer.

For more information on the various options available, please see JdbcConsumerProperties.

Tests

See this test suite for the various ways, this consumer is used.

Other usage

See this README where this consumer is used to create a Spring Cloud Stream application where it makes a Jdbc sink.