Class DynamicDestinationNameResolver

java.lang.Object
org.citrusframework.jms.endpoint.resolver.DynamicDestinationNameResolver
All Implemented Interfaces:
EndpointUriResolver

public class DynamicDestinationNameResolver extends Object implements EndpointUriResolver
Since:
2.7
Author:
Christoph Deppisch
  • Field Details

    • DESTINATION_HEADER_NAME

      public static final String DESTINATION_HEADER_NAME
      Static header entry name specifying the dynamic destination name
      See Also:
  • Constructor Details

    • DynamicDestinationNameResolver

      public DynamicDestinationNameResolver()
  • Method Details

    • resolveEndpointUri

      public String resolveEndpointUri(Message message, String defaultName)
      Get the endpoint uri according to message header entry with fallback default uri.
      Specified by:
      resolveEndpointUri in interface EndpointUriResolver
    • getDefaultDestinationName

      public String getDefaultDestinationName()
      Gets the defaultDestinationName.
      Returns:
    • setDefaultDestinationName

      public void setDefaultDestinationName(String defaultDestinationName)
      Sets the defaultDestinationName.
      Parameters:
      defaultDestinationName -