Interface MessageHandler

All Known Implementing Classes:
DestinationSession, IntermediateSession, MessageBus, QueueAdapter, Receptor, 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 the ReplyHandler 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

    Modifier and Type
    Method
    Description
    void
    This function is called when a message arrives.
  • Method Details

    • handleMessage

      void handleMessage(Message message)
      This function is called when a message arrives.
      Parameters:
      message - The message that arrived.