Package org.apache.camel.spi
Interface ScriptingLanguage
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a
Language
which is a general purpose scripting languages such as groovy, joor and others.-
Method Summary
-
Method Details
-
evaluate
Evaluates the script- Parameters:
script
- the scriptbindings
- optional bindings to use when evaluating the scriptresultType
- the expected result type- Returns:
- the result of the evaluation
-