Class DynamicEndpointUriResolver
java.lang.Object
org.citrusframework.endpoint.resolver.DynamicEndpointUriResolver
- All Implemented Interfaces:
EndpointUriResolver
Endpoint uri resolver working on message headers. Resolver is searching for a specific header entry which holds the actual
target endpoint uri.
- Since:
- 1.4
-
Field Summary
Fields inherited from interface org.citrusframework.endpoint.resolver.EndpointUriResolver
ENDPOINT_URI_HEADER_NAME, QUERY_PARAM_HEADER_NAME, REQUEST_PATH_HEADER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveEndpointUri(Message message, String defaultUri) Get the endpoint uri according to message header entry with fallback default uri.voidsetDefaultEndpointUri(String defaultEndpointUri) Sets the default fallback endpoint uri.
-
Constructor Details
-
DynamicEndpointUriResolver
public DynamicEndpointUriResolver()
-
-
Method Details
-
resolveEndpointUri
Get the endpoint uri according to message header entry with fallback default uri.- Specified by:
resolveEndpointUriin interfaceEndpointUriResolver
-
setDefaultEndpointUri
Sets the default fallback endpoint uri.- Parameters:
defaultEndpointUri- the defaultUri to set
-