Interface PayloadHandler

    • Method Detail

      • handle

        Object handle​(Payload payload)
               throws Exception
        Invoked when a new message arrives from the cluster.
        Parameters:
        payload - Payload to be processed
        Returns:
        The response to the received message
        Throws:
        Exception - a generic error