public interface SubscribableChannel extends MessageChannel
MessageHandler
interface and
will be invoked when a Message is available.Modifier and Type | Method and Description |
---|---|
boolean |
subscribe(MessageHandler handler)
Register a
MessageHandler as a subscriber to this channel. |
boolean |
unsubscribe(MessageHandler handler)
Remove a
MessageHandler from the subscribers of this channel. |
send, send
boolean subscribe(MessageHandler handler)
MessageHandler
as a subscriber to this channel.boolean unsubscribe(MessageHandler handler)
MessageHandler
from the subscribers of this channel.