Class JdbcChannelMessageStore

java.lang.Object
org.springframework.integration.jdbc.store.JdbcChannelMessageStore
All Implemented Interfaces:
InitializingBean, BasicMessageGroupStore, ChannelMessageStore, PriorityCapableChannelMessageStore

@ManagedResource
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.

Since:
2.2
Author:
Gunnar Hillert, Artem Bilan, Gary Russell, Meherzad Lahewala