case

Version

Syntax

case:
test: <string> # required
'$ref': <string>
flow:
- <flow>
language: groovy
xmlConfig: {}
case:
  test: <string> # required
  '$ref': <string>
  flow:
    - <flow>
  language: groovy
  xmlConfig: {}

Attributes

NameRequiredDefaultDescriptionExamples
$reffalse-Reference a component defined under components.-
languagefalsegroovythe language of the 'test' conditionSpEL, groovy, jsonpath, xpath
testtrue-the condition to be testedexc.request.header.userAgentSupportsSNI

Child Structure

ElementCardinalityDescription
flow0..*
xmlConfig0..1

Can be used in