Interface EndpointUriResolver
public interface EndpointUriResolver
Resolves endpoint uri so we can send messages to dynamic endpoints. Resolver works on request message and
chooses the target message endpoint according to message headers or payload.
- Since:
- 1.4
- Author:
- Christoph Deppisch
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionresolveEndpointUri(Message message, String defaultUri) Get the dedicated message endpoint uri for this message.
-
Field Details
-
ENDPOINT_URI_HEADER_NAME
Static header entry name specifying the dynamic endpoint uri- See Also:
-
REQUEST_PATH_HEADER_NAME
- See Also:
-
QUERY_PARAM_HEADER_NAME
- See Also:
-
-
Method Details
-
resolveEndpointUri
Get the dedicated message endpoint uri for this message.- Parameters:
message- the request message to send.defaultUri- the fallback uri in case no mapping was found.- Returns:
- the endpoint uri String representation
-