You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

<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

  • No labels