Package org.frankframework.receivers
Interface ServiceClient
- All Known Implementing Classes:
ApiListener
,FrankListener
,HttpListener
,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 aIListener
implementation.
TODO: We may want to add the correlationId parameter back to this method, for cleaner calling and cleaner implementation.- Parameters:
message
-Message
to processsession
-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.
-