Interface MessageListener


  • public interface MessageListener

    Messages are delivered to a MessageListener. MessageListeners are implemented by the resource adaptor, and registered using the MessageFacility.

    • Method Detail

      • handleMessage

        void handleMessage​(int sourceNode,
                           byte[] payload)

        Handles the given asynchronous message.

        Parameters:
        sourceNode - The node ID of the node which sent the message.
        payload - The payload of the message.