Class PostgresSubscribableChannel

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, ExpressionCapable, IntegrationPattern, PostgresChannelMessageTableSubscriber.Subscription, NamedComponent, IntegrationManagement, SubscribableChannelManagement, TrackableComponent, MessageChannel, SubscribableChannel, InterceptableChannel

public class PostgresSubscribableChannel extends AbstractSubscribableChannel implements PostgresChannelMessageTableSubscriber.Subscription
An AbstractSubscribableChannel for receiving push notifications for messages send to a group id of a JdbcChannelMessageStore. Receiving such push notifications is only possible if using a Postgres database.

In order to function, the Postgres database that is used must define a trigger for sending notifications upon newly arrived messages. This trigger is defined in the schema-postgresql.sql file within this artifact but commented out.

Since:
6.0
Author:
Rafael Winterhalter, Artem Bilan, Igor Lovich