org.springframework.integration.message
Interface Subscribable

All Known Implementing Classes:
DirectChannel, PublishSubscribeChannel

public interface Subscribable

Interface for any component that accepts subscribers.

Author:
Mark Fisher

Method Summary
 boolean subscribe(MessageTarget target)
          Register a MessageTarget as a subscriber to this source.
 boolean unsubscribe(MessageTarget target)
          Remove a MessageTarget from the subscribers of this source.
 

Method Detail

subscribe

boolean subscribe(MessageTarget target)
Register a MessageTarget as a subscriber to this source.


unsubscribe

boolean unsubscribe(MessageTarget target)
Remove a MessageTarget from the subscribers of this source.