Interface EndpointAdapter


  • public interface EndpointAdapter
    Endpoint adapter represents a special message handler that delegates incoming request messages to some message endpoint. Clients can receive request messages from endpoint and provide proper response messages that will be used as adapter response.
    Since:
    1.4
    Author:
    Christoph Deppisch
    • Method Detail

      • handleMessage

        Message handleMessage​(Message message)
        Handles a request message and returning a proper response.
        Parameters:
        message - the request message.
        Returns:
        the response message.
      • getEndpoint

        Endpoint getEndpoint()
        Gets message endpoint to interact with this endpoint adapter.
        Returns:
      • getEndpointConfiguration

        EndpointConfiguration getEndpointConfiguration()
        Gets the endpoint configuration.
        Returns: