Package org.frankframework.receivers
Interface ServiceClient
- All Known Implementing Classes:
ApiListener,CmisEventListener,FrankListener,JavaListener,PushingListenerAdapter,RestListener,WebServiceListener
public interface ServiceClient
The interface clients (users) of a service may use.
-
Method Summary
Modifier and TypeMethodDescriptionprocessRequest(Message message, PipeLineSession session) Method to implement for processing a request.
-
Method Details
-
processRequest
Method to implement for processing a request. This will usually delegate to aIListenerimplementation.
TODO: We may want to add the correlationId parameter back to this method, for cleaner calling and cleaner implementation.- Parameters:
message-Messageto processsession-PipeLineSessionof 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.
-