Appendix B. Expressions and predicates
Expressions and predicates are built-in types in Camel that you’ve seen used throughout this book. They’re very versatile and are used in different places, but they’re most noticeable in the Camel routes. For example, predicates are used in the Message Filter and Content-Based Router EIPs. Expressions are used for computing correlation keys for the Aggregator EIP, and appendix A covered the Simple expression language, which is another testament to the versatility of expressions.
B.1. Expressions
A Camel expression (org.apache.camel.Expression) is evaluated at runtime on the instance of Exchange that is under processing. You can use either standard or custom expressions.
B.1.1. Standard expressions
Get Camel in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.