Interface MessageHandler<T>

All Known Implementing Classes:
RequestHandler, ResponseHandler

public interface MessageHandler<T>
Interface for processing messages from the queue. Implementations of this interface are responsible for processing incoming messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(T message)
    Handles the incoming message.
  • Method Details

    • handle

      void handle(T message)
      Handles the incoming message.
      Parameters:
      message - the message to be handled