- All Known Implementing Classes:
public interface MessageHandlerAll classes that wants to handle messages that move through the messagebus need to implement this interface. As opposed to the
ReplyHandlerwhich handles replies as they return from the receiver to the sender, this interface is intended for handling messages as they travel from the sender to the receiver.
- Simon Thoresen Hult
void handleMessage(Message message)This function is called when a message arrives.
message- The message that arrived.