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

Compare with Current View Page History

« Previous Version 6 Next »

PHP

Camel supports PHP among other Scripting Languages to allow an Expression or Predicate to be used in the DSL or Xml Configuration.

To use a PHP expression use the following Java code

... php("somePHPExpression") ... 

For example you could use the php function to create an Predicate in a Message Filter or as an Expression for a Recipient List

  • No labels