Class JdbcChannelMessageStore

All Implemented Interfaces:
InitializingBean, BasicMessageGroupStore, ChannelMessageStore, PriorityCapableChannelMessageStore

public class JdbcChannelMessageStore
extends Object
implements PriorityCapableChannelMessageStore, InitializingBean

Channel-specific implementation of MessageGroupStore using a relational database via JDBC. This message store shall be used for message channels only.

As such, the JdbcChannelMessageStore uses database specific SQL queries.

Contrary to the JdbcMessageStore, this implementation uses a single database table, optimized to operate like a queue. The SQL scripts for creating the table are packaged under org/springframework/integration/jdbc/schema-*.sql, where * denotes the target database type.

Gunnar Hillert, Artem Bilan, Gary Russell, Meherzad Lahewala, Trung Pham