public class DynamicEndpointUriResolver extends Object implements EndpointUriResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
ENDPOINT_URI_HEADER_NAME
Static header entry name specifying the dynamic endpoint uri
|
static String |
QUERY_PARAM_HEADER_NAME |
static String |
REQUEST_PATH_HEADER_NAME |
| Constructor and Description |
|---|
DynamicEndpointUriResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
resolveEndpointUri(Message message,
String defaultUri)
Get the endpoint uri according to message header entry with fallback default uri.
|
void |
setDefaultEndpointUri(String defaultEndpointUri)
Sets the default fallback endpoint uri.
|
public static final String ENDPOINT_URI_HEADER_NAME
public static final String REQUEST_PATH_HEADER_NAME
public static final String QUERY_PARAM_HEADER_NAME
public String resolveEndpointUri(Message message, String defaultUri)
resolveEndpointUri in interface EndpointUriResolvermessage - the request message to send.defaultUri - the fallback uri in case no mapping was found.public void setDefaultEndpointUri(String defaultEndpointUri)
defaultEndpointUri - the defaultUri to setCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.