public interface SubscribableChannel extends MessageChannel
MessageChannelthat maintains a registry of subscribers and invokes them to handle messages sent through this channel.
|Modifier and Type||Method and Description|
Register a message handler.
Un-register a message handler.
boolean subscribe(MessageHandler handler)
trueif the handler was subscribed or
falseif it was already subscribed.
boolean unsubscribe(MessageHandler handler)
trueif the handler was un-registered, or
falseif was not registered.