Interface ServiceClient

All Known Implementing Classes:
ApiListener, HttpListener, JavaListener, PushingListenerAdapter, RestListener, WebServiceListener

public interface ServiceClient
The interface clients (users) of a service may use.
  • Method Details

    • processRequest

      Message processRequest(Message message, PipeLineSession session) throws ListenerException
      Method to implement for processing a request. This will usually delegate to a IListener implementation.
      TODO: We may want to add the correlationId parameter back to this method, for cleaner calling and cleaner implementation.
      Parameters:
      message - Message to process
      session - PipeLineSession of the request. If the request has a correlation ID, it should be put into this session.
      Returns:
      Resulting Message.
      Throws:
      ListenerException - Thrown if an exception occurs.