route

This processor, depending on the condition evaluation, will route message to one or more different pipelines and/or pass the message through the processor to the next one. Behavior :

Synopsys

route {
    # Path to configuration to send the incomming message, it could be a local file or an url
    # can be relative path to the current configuration.
    path=> ["error.conf"]

}

Available settings

Setting Type Info Default value
condition string true
fork bool false
path array required []
var hash {}

Common Options

Details

condition

  • Value type is string
  • Default value is true
  • set a condition to fork and route message when false, message is routed to trunk By default condition is evaluated to true and always pass

    fork

  • Value type is bool
  • Default value is false
  • Fork mode disabled by default

    path

  • This is a required setting
  • Value type is array
  • Default value is []
  • Path to configuration to send the incomming message, it could be a local file or an url can be relative path to the current configuration.

    var

  • Value type is hash
  • Default value is {}
  • You can set variable references in the used configuration by using ${var}. each reference will be replaced by the value of the variable found in this option The replacement is case-sensitive.

    Full configuration blueprint

    Expand me...