Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1637

Simple language to support AND / OR for cancat multiple expressions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-M1
    • 2.0-M2
    • camel-core
    • None

    Description

      The simple language only supports a single expression with a single operator.

      We should add support for adding AND , OR as operator to concat two expressions.
      Currently we only support a single AND , OR as it will cover most use cases.

      Now you can do:

              ${in.header.foo} == abc and ${in.header.bar} == 123
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: