Versions Compared

Key

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

EL

Camel supports the unified JSP and JSF Expression Language via the JUEL to allow an Expression or Predicate to be used in the DSL or Xml Configuration.

For example you could use EL inside a Message Filter in XML

Code Block
<route>
  <from uri="seda:foo"/>
  <filter>
    <el>in.headers.foo = 'bar'</el>
    <to uri="seda:bar"/>
  </filter>
</route>

You could use EL to create an Predicate in a Message Filter or as an Expression for a Recipient List