Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Operator

Description

==

Equals.

=~

Camel 2.16: equals ignore case (will ignore case when comparing String values).

>

Greater than.

>=

Greater than or equals.

<

Less than.

<=

Less than or equals.

!=

Not equals.

contains

For testing if contains in a string based value.

not contains

For testing if not contains in a string based value.

regex

For matching against a given regular expression pattern defined as a String value.

not regex

For not matching against a given regular expression pattern defined as a String value.

in

For matching if in a set of values, each element must be separated by comma.

If you want to include an empty value, then it must be defined using double comma, eg ',,bronze,silver,gold', which
is a set of four values with an empty value and then the three medals.

not in

For matching if not in a set of values, each element must be separated by comma.

If you want to include an empty value, then it must be defined using double comma, eg ',,bronze,silver,gold', which
is a set of four values with an empty value and then the three medals.

is

For matching if the left hand side type is an instanceof the value.

not is

For matching if the left hand side type is not an instanceof the value.

range

For matching if the left hand side is within a range of values defined as numbers: from..to.

From Camel 2.9: the range values must be enclosed in single quotes.

not range

For matching if the left hand side is not within a range of values defined as numbers: from..to.

From Camel 2.9: the range values must be enclosed in single quotes.

starts with

Camel 2.17.1, 2.18: For testing if the left hand side string starts with the right hand string.

ends with

Camel 2.17.1, 2.18: For testing if the left hand side string ends with the right hand string.

...