org.springframework.messaging

## Interface MessageHandler

- All Known Implementing Classes:
    AbstractBrokerMessageHandler, AbstractMethodMessageHandler, SimpAnnotationMethodMessageHandler, SimpleBrokerMessageHandler, StompBrokerRelayMessageHandler, SubProtocolWebSocketHandler, UserDestinationMessageHandler

      public interface MessageHandler

  Contract for handling a `Message`.
  Since:
    4.0
  Author:
    Mark Fisher, Iwein Fuld

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handleMessage(Message<?> message)` Handle the given message.

- - ### Method Detail

    - #### handleMessage

          void handleMessage(Message<?> message)
                      throws MessagingException

      Handle the given message.
      Parameters:
        `message` - the message to be handled
      Throws:
        `MessagingException`