Class DynamicDestinationNameResolver
java.lang.Object
org.citrusframework.jms.endpoint.resolver.DynamicDestinationNameResolver
- All Implemented Interfaces:
EndpointUriResolver
- Since:
- 2.7
- Author:
- Christoph Deppisch
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStatic header entry name specifying the dynamic destination nameFields 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 TypeMethodDescriptionGets the defaultDestinationName.resolveEndpointUri(Message message, String defaultName) Get the endpoint uri according to message header entry with fallback default uri.voidsetDefaultDestinationName(String defaultDestinationName) Sets the defaultDestinationName.
-
Field Details
-
DESTINATION_HEADER_NAME
Static header entry name specifying the dynamic destination name- See Also:
-
-
Constructor Details
-
DynamicDestinationNameResolver
public DynamicDestinationNameResolver()
-
-
Method Details
-
resolveEndpointUri
Get the endpoint uri according to message header entry with fallback default uri.- Specified by:
resolveEndpointUriin interfaceEndpointUriResolver
-
getDefaultDestinationName
Gets the defaultDestinationName.- Returns:
-
setDefaultDestinationName
Sets the defaultDestinationName.- Parameters:
defaultDestinationName-
-