Class DynamicRouterControlConfiguration

java.lang.Object
org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConfiguration

@UriParams public class DynamicRouterControlConfiguration extends Object
Configuration for the DynamicRouterControlEndpoint.
  • Constructor Details Link icon

    • DynamicRouterControlConfiguration Link icon

      public DynamicRouterControlConfiguration()
  • Method Details Link icon

    • getControlAction Link icon

      public String getControlAction()
      The control action (subscribe or unsubscribe).
      Returns:
      the control action
    • getControlActionOrDefault Link icon

      public String getControlActionOrDefault()
      The control action (subscribe or unsubscribe) that returns the default value of "subscribe" if null.
      Returns:
      the control action
    • setControlAction Link icon

      public void setControlAction(String controlAction)
      The control action (subscribe or unsubscribe).
      Parameters:
      controlAction - the control action -- subscribe or unsubscribe
    • getSubscribeChannel Link icon

      public String getSubscribeChannel()
      The channel to subscribe to.
      Returns:
      subscribe channel name
    • setSubscribeChannel Link icon

      public void setSubscribeChannel(String subscribeChannel)
      The channel to subscribe to.
      Parameters:
      subscribeChannel - subscribe channel name
    • getSubscriptionId Link icon

      public String getSubscriptionId()
      The subscription ID. If one is not supplied, one will be generated and returned.
      Returns:
      the subscription ID
    • setSubscriptionId Link icon

      public void setSubscriptionId(String subscriptionId)
      The subscription ID. If one is not supplied, one will be generated and returned.
      Parameters:
      subscriptionId - the subscription ID
    • getDestinationUri Link icon

      public String getDestinationUri()
      The destination URI where the subscriber will receive matching exchanges.
      Returns:
      the destination URI
    • setDestinationUri Link icon

      public void setDestinationUri(String destinationUri)
      The destination URI where the subscriber will receive matching exchanges.
      Parameters:
      destinationUri - the destination URI
    • getPriority Link icon

      public Integer getPriority()
      The subscription priority. Lower numbers have higher priority.
      Returns:
      the subscription priority
    • setPriority Link icon

      public void setPriority(Integer priority)
      The subscription priority. Lower numbers have higher priority.
      Parameters:
      priority - the subscription priority
    • getPredicate Link icon

      public String getPredicate()
      The Predicate used to evaluate exchanges for subscribers. Only predicates that can be expressed as a string (e.g., using the Simple language) can be specified via URI param. Other types must be sent as the message body, or as a reference to a bean in the registry via predicateBean.
      Returns:
      the predicate for evaluating exchanges
    • setPredicate Link icon

      public void setPredicate(String predicate)
      The Predicate used to evaluate exchanges for subscribers. Only predicates that can be expressed as a string (e.g., using the Simple language) can be specified via URI param. Other types must be sent as the message body, or as a reference to a bean in the registry via predicateBean.
      Parameters:
      predicate - the predicate for evaluating exchanges
    • getPredicateBean Link icon

      public org.apache.camel.Predicate getPredicateBean()
      Reference to a Predicate in the registry.
      Returns:
      the predicate for evaluating exchanges
    • setPredicateBean Link icon

      public void setPredicateBean(org.apache.camel.Predicate predicateBean)
      Reference to a Predicate in the registry.
      Parameters:
      predicateBean - the predicate for evaluating exchanges
    • getExpressionLanguage Link icon

      public String getExpressionLanguage()
      The expression language for creating the Predicate. The default is "simple".
      Returns:
      the expression language name
    • setExpressionLanguage Link icon

      public void setExpressionLanguage(String expressionLanguage)
      The expression language for creating the Predicate. The default is "simple".
      Parameters:
      expressionLanguage - the expression language name