Versions Compared

Key

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

OGNL

Camel allows OGNL to be used as an Expression or Predicate the DSL or Xml Configuration.

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

Code Block

<route>
  <from uri="seda:foo"/>
  <filter>
    <ognl>request.headers.foo = 'bar'</ognl>
    <to uri="seda:bar"/>
  </filter>
</route>

You could use OGNL to create an Predicate in a Message Filter or as an Expression for a Recipient ListCreated by James Strachan
On Fri Aug 03 21:04:08 BST 2007
Using TimTam