Package com.consol.citrus.endpoint
Interface EndpointAdapter
-
public interface EndpointAdapterEndpoint 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EndpointgetEndpoint()Gets message endpoint to interact with this endpoint adapter.EndpointConfigurationgetEndpointConfiguration()Gets the endpoint configuration.MessagehandleMessage(Message message)Handles a request message and returning a proper response.
-
-
-
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:
-
-