org.springframework.integration.dispatcher
Interface MessageDispatcher

All Known Implementing Classes:
AbstractDispatcher, BroadcastingDispatcher, UnicastingDispatcher

public interface MessageDispatcher

Strategy interface for dispatching messages to handlers.


Method Summary
 boolean addHandler(MessageHandler handler)
           
 boolean dispatch(Message<?> message)
           
 boolean removeHandler(MessageHandler handler)
           
 

Method Detail

addHandler

boolean addHandler(MessageHandler handler)

removeHandler

boolean removeHandler(MessageHandler handler)

dispatch

boolean dispatch(Message<?> message)