Package com.yahoo.messagebus
Interface MessageHandler
-
- All Known Implementing Classes:
DestinationSession
,IntermediateSession
,MessageBus
,SendProxy
,Sequencer
public interface MessageHandler
All classes that wants to handle messages that move through the messagebus need to implement this interface. As opposed to theReplyHandler
which 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.- Author:
- Simon Thoresen Hult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleMessage(Message message)
This function is called when a message arrives.
-
-
-
Method Detail
-
handleMessage
void handleMessage(Message message)
This function is called when a message arrives.- Parameters:
message
- The message that arrived.
-
-